<< Return to Main Index

< Return to Class Index

CGXControl::CanPaste

virtual BOOL CanPaste();

Return Value

TRUE if cell contents can be pasted; FALSE if the grid shall handle the Paste command.

Remarks

The default implementation returns TRUE if no range of cells is selected in the grid and the current cell is active. Override this method if you want to check for additional clipboard formats (e.g., the CGXRichEditCtrl overrides this method and checks for RTF clipboard format).

See Also

CGXControl::Paste

CGXControl

Class Overview | Class Members