CEdit::Paste

调用此功能添加到剪贴板中的数据添加到的 CEdit 中的插入点插入。

void Paste( );

备注

数据,仅当剪贴板在 CF_TEXT 格式,包含数据插入。

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

示例

// Replace all of the text with the text in the clipboard.
m_myEdit.SetSel(0, -1);
m_myEdit.Paste();

要求

Header: afxwin.h

请参见

参考

CEdit Class

层次结构图

CEdit::Clear

CEdit::Copy

CEdit::Cut