Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
void Copy( );
Remarks
Call this function to copy the current selection (if any) in the rich edit control to the Clipboard.
For more information, see in the Win32 documentation.
Example
void snip_CRichEditCtrl_Copy()
{
// The pointer to my rich edit control.
extern CRichEditCtrl* pmyRichEditCtrl;
// Copy all of the text to the clipboard.
pmyRichEditCtrl->SetSel(0, -1);
pmyRichEditCtrl->Copy();
}
CRichEditCtrl Overview | Class Members | Hierarchy Chart
See Also CRichEditCtrl::Paste, CRichEditCtrl::Cut