CEdit::Copy

调用该功能。腼腆当前选定内容(如果有)在编辑控件到剪贴板中 CF_TEXT 格式。

void Copy( );

备注

有关更多信息,请参见 Windows SDK的 WM_COPY

示例

// Copy all of the text to the clipboard.
m_myEdit.SetSel(0, -1);
m_myEdit.Copy();

要求

Header: afxwin.h

请参见

参考

CEdit Class

层次结构图

CEdit::Clear

CEdit::Cut

CEdit::Paste