Share via


CEdit::Copy

Llame a esta función a tímido la selección actual (si existe) al control de edición al portapapeles en el formato de CF_TEXT .

void Copy( );

Comentarios

Para obtener más información, vea WM_COPY en Windows SDK.

Ejemplo

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

Requisitos

encabezado: afxwin.h

Vea también

Referencia

Clase de CEdit

Gráfico de jerarquía

CEdit::Clear

CEdit::Cut

CEdit::Paste