Call this member function to replace the current selection in an edit control with the text specified by lpszNewText.
void ReplaceSel( LPCTSTR lpszNewText );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CEdit Overview, CEdit Member Functions, Control Classes, CWnd::SetWindowText