共用方式為


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 類別

階層架構圖

CEdit::Clear

CEdit::Copy

CEdit::Cut