Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CEdit::GetSel
CEdit                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  DWORD GetSel() const;
 
  Remarks
 
  Gets the starting and ending character positions of the current
  selection (if any) in an edit control.
 
  Return Value
 
  A 32-bit value that contains the starting position in the low-order word
  and the position of the first nonselected character after the end of the
  selection in the high-order word.
 
  See Also
 
  CEdit::SetSel, EM_GETSEL
 
 
                                     -♦-