CEditView::GetSelectedText

void GetSelectedText( CString& strResult ) const;

Parameters

strResult

A reference to the CString object that is to receive the selected text.

Remarks

Call GetSelectedText to copy the selected text into a CString object, up to the end of the selection or the character preceding the first carriage-return character in the selection.

CEditView OverviewClass MembersHierarchy Chart

See Also   CEditView::OnReplaceSel