CExtGridWnd::OnGridHookCellValueDecrement

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Called to decrement the cell value and returns true if it has been changed.

virtualbool OnGridHookCellValueDecrement(
   LONG nColNo,
   LONG nRowNo,
   INT nColType,
   INT nRowType
   const CExtGridCell & _cell,
   bool & bResult
) const;

Parameters

nColNo
Column index.
nRowNo
Row index.
nColType
Type of column (0 - inner column, -1 - outer column on left, 1 - outer column on right).
nRowType
Type of row (0 - inner row, -1 - outer row at top, 1 - outer row at bottom).
_cell
Reference to the cell object.
bEnabled
Receives the flag which indicates if the value has been decremented at the cell level.

Remarks

It is a version of the CExtGridCell::OnValueDecrement() method, that is called at the grid level.

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart