CEdit::GetSel

Call this member function to retrieve the starting and ending character positions of the current selection in an edit control, using either the return value or the parameters.

Syntax

DWORD GetSel( ) const;

void GetSel( int& nStartChar, int& nEndChar ) const;

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::SetSel