CGXControl::Paste
virtual BOOL Paste();
Return Value
TRUE if cell contents were pasted; FALSE if the grid shall handle the Paste command.
Remarks
Checks if the clipboard data should be pasted into the current cell. If this is the case, text will be pasted. Override this method if you want to handle special clipboard formats.
The CGXRichEditCtrl has overridden Paste and checks for RTF format.
If you return FALSE, the default grid Paste operation will be called. This operation loops through the cells and calls SetControlText for each cell if data are in CF_TEXT format. If data are in internal styles format, only the style information for the cells will be replaced.
See Also
CGXGridCore::Paste CGXControl::CanPaste CGXControl::SetControlText