다음을 통해 공유


CEditView::GetSelectedText

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.

void GetSelectedText(
   CString& strResult 
) const;

Parameters

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

Requirements

Header: afxext.h

See Also

Concepts

CEditView Class

CEditView Members

Hierarchy Chart

CEditView::OnReplaceSel