Call this member function to select a range of characters in an edit control.
void SetSel( DWORD dwSelection, BOOL bNoScroll = FALSE );
void SetSel( int nStartChar, int nEndChar, BOOL bNoScroll = FALSE );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CEdit Overview, CEdit Member Functions, Control Classes, CEdit::GetSel, CEdit::ReplaceSel