<< Return to Main Index

< Return to Class Index

CGXControl::OnDeleteCell

virtual BOOL OnDeleteCell();

Return Value

TRUE if deleting the cell’s data is possible; FALSE otherwise.

Remarks

This method is called when the user has pressed the DEL key on the current cell and the active-flag is FALSE (the grid-parent has the focus). The base-class version of this method calls CGXGridCore::OnDeleteCell.

You can either override CGXGridCore::OnDeleteCell for all controls or subclass a specific control and override the control’s OnDeleteCell method.

See Also

CGXGridCore::OnDeleteCell

CGXControl

Class Overview | Class Members