Поделиться через


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;

Параметры

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

Требования

Header: afxext.h

См. также

Основные понятия

CEditView Class

CEditView Members

Hierarchy Chart

CEditView::OnReplaceSel