Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
void Paste( );
Remarks
Call this function to insert the data from the Clipboard into the CRichEditCtrl at the insertion point, the ___location of the caret. Data is inserted only if the Clipboard contains data in a recognized format.
For more information, see in the Win32 documentation.
Example
// The pointer to my rich edit control.
extern CRichEditCtrl* pmyRichEditCtrl;
// Replace all of the text with the text in the clipboard.
pmyRichEditCtrl->SetSel(0, -1);
pmyRichEditCtrl->Paste();
CRichEditCtrl Overview | Class Members | Hierarchy Chart
See Also CRichEditCtrl::Copy, CRichEditCtrl::Cut, CRichEditCtrl::PasteSpecial