CEditView::GetSelectedText

调用 GetSelectedText 复制选定的文本。CString 对象,到前面选定内容中的选定内容或字符的结束第一个回车符。

void GetSelectedText(
   CString& strResult 
) const;

参数

  • strResult
    为了使接收选定文本的 CString 对象的引用。

要求

Header: afxext.h

请参见

参考

CEditView选件类

层次结构图

CEditView::OnReplaceSel