CGXControl::OnLeftCell

virtual BOOL OnLeftCell(ROWCOL nNewRow, ROWCOL nNewCol);?

nNewRow

Specifies the row id of the new current cell.

nNewCol

Specifies the column id of the new current cell.

Return Value

Specifies whether SetCurrentCell needs to refresh the current cell. If you return FALSE, SetCurrentCell will not do any further refreshing.

Remarks

Called after the current cell has been deactivated. So, at the time this event is called, there is no current cell in the grid. Override this method if you want to hook into refreshing the current cell after being deactivated.

See the description of SetCurrentCell for further information on what events are called when the current cell is positioned to a new cell.

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

See Also

 CGXGridCore::SetCurrentCell  CGXGridCore::OnLeftCell

CGXControl

 Class Overview |  Class Members