CGXGridCore::StoreCoveredCellsRowCol
virtual BOOL StoreCoveredCellsRowCol(ROWCOL nRow, ROWCOL nCol, ROWCOL nToRow, ROWCOL nToCol, BOOL bSet = TRUE);?
nRow
Specifies the row id for the cell.
nCol
Specifies the column id for the cell.
nToRow
Specifies the last row to cover.
nToCol
Specifies the last column to cover.
bSet
Specifies if the area should be added (TRUE) or removed (FALSE).
Return Value
TRUE if the range could be stored; it is FALSE if the range could not be stored or if the range would overlap another range.
Remarks
Overridable method which stores the covered cells-range into the covered cells-list maintained by the parameter-object.
Please note that the parameter-object maintains a list of ranges with the covered cells. If you want to override StoreCoveredCellsRowCol and store the covered cells anywhere else, it is also necessary to override GetCoveredCellsRowCol and MergeCoveredCells.
Control-Factory Specific ->
This method has been implemented using the abstraction mechanism as discussed in the chapter "Reducing the size of your application" in the user's guide. A call to the ImplementCoveredCells method from within the control factory class' InitializeGridComponents method will make the concrete implementation of this method available to your application.
If no concrete implementation is available this method returns FALSE. No action is performed.
END Control-Factory Specific
See Also
CGXGridCore::GetCoveredCellsRowColCGXGridCore::MergeCoveredCells