<< Return to Main Index

< Return to Class Index

CGXControl::Copy

virtual BOOL Copy();

Return Value

TRUE if cell contents were copied; FALSE if the grid shall handle the Copy command.

Remarks

Copies the selected text of the current cell to the clipboard. Override this method if you would like to supply additional clipboard formats. Note: This method will not be called when a range of cells is selected.

The CGXRichEditCtrl has overridden Copy and will supply data in RTF format.

See Also

CGXGridCore::Copy CGXControl::CanCopy

CGXControl

Class Overview | Class Members