CGXGridCore::OnStartEditing
virtual BOOL OnStartEditing(ROWCOL nRow, ROWCOL nCol);?
nRow
Specifies the row id.
nCol
Specifies the column id.
Return Value
TRUE if the user can input data; FALSE to prevent editing.
Remarks
Overridable method which is called when the user has pressed a key or the mouse on the current cell. The method is called by CGXControl::OnStartEditing.
You can either override OnStartEditing for all controls or subclass a specific control and override the control’s OnStartEditing method.
You can use CGXControl::IsKindOf to determine the control’s class and compute the return value depending on the control’s runtime-type information.
See Also
CGXGridCore::GetControl CGXControl::OnStartEditing CGXControl::IsKindOf