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


CEdit::Copy

Call this function to coy the current selection (if any) in the edit control to the Clipboard in CF_TEXT format.

void Copy( );

Заметки

For more information, see WM_COPY in the Windows SDK.

Пример

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

Требования

Header: afxwin.h

См. также

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

CEdit Class

CEdit Members

Hierarchy Chart

CEdit::Clear

CEdit::Cut

CEdit::Paste