CGXControl* GetCurrentCellControl( );
A pointer to the CGXControl-object associated with the current cell. It is NULL if no valid current cell exists.
Determines the coordinates of the current cell and returns a pointer to the CGXControl-object associated with the current cell.
This example illustrates a typical usage of the GetCurrentCellControl method.
// Reset edit-mode for current cell
CGXControl* pControl = GetCurrentCellControl( );
if (pControl)
{
if (pControl->GetModify( ))
pControl->Store( );
pControl->SetActive(FALSE);
pControl->Refresh( );
}
Class Overview | Class Members