CGXGridCore::EvalVisibleFloatMergeCells
BOOL EvalVisibleFloatMergeCells(const CGXRange& range, BOOL bUpdate = TRUE, CGXRange* prgBoundary = NULL, BOOL bLookupStyle = FALSE);
range
Specifies the range of cells where floating cells shall be recalculated. All cells in the range that are not in the currently visible area will be ignored.
bUpdate
Specifies if the grid shall update changed cells. If bUpdate is FALSE, updating the grid is locked with LockUpdate(TRUE);
prgBoundary
Pointer to a CGXRange object. Can be NULL. If prgBoundary is not NULL, EvalMergeCells will compute a range object that covers all cells that have changed. If you did lock updating the display, you should use this range to efficiently redraw all cells affected by changes with one redraw operation.
bLookupStyle
Reserved. The parameter is ignored.
Remarks
EvalVisibleMergeCells evaluates both floating and merge cells for the currently visible range of cells in the grid.
If range is only a subset of the currently visible cells, only cells in range will be evaluated.
If range is a superset (e.g., CGXRange().SetTable()), only those cells which are currently visible will be evaluated.
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 ImplementDrawSpannedCells 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::SetMergeCellsMode CGXGridCore::EvalMergeCells CGXGridCore::EvalFloatCells