CEdit::SetSel

Call this member function to select a range of characters in an edit control.

Syntax

void SetSel( DWORD dwSelection, BOOL bNoScroll = FALSE );

void SetSel( int nStartChar, int nEndChar, BOOL bNoScroll = FALSE );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CEdit Overview, CEdit Member Functions, Control Classes, CEdit::GetSel, CEdit::ReplaceSel