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


CRichEditCtrl::Copy

Copies the current selection (if any) in the rich edit control to the Clipboard.

void Copy( );

Заметки

For more information, see WM_COPY in the Windows SDK.

Пример

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

Требования

Header: afxcmn.h

См. также

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

CRichEditCtrl Class

CRichEditCtrl Members

Hierarchy Chart

CRichEditCtrl::Paste

CRichEditCtrl::Cut