CEditView::GetSelectedText

This method copies the selected text into a CString object. This method copies up to the end of the selection, or to the character preceding the first carriage-return character in the selection.

At a Glance

Header file: Afxext.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

void GetSelectedText( CString& strResult ) const;