BOOL EvalMergeCells(const CGXRange& range, BOOL bUpdate = TRUE, CGXRange* prgBoundary = NULL, BOOL bLookupStyle = FALSE);
range
Specifies the range of cells where floating cells shall be recalculated. With gxnMergeDelayEval, only cells that are marked as delayed will be recalculated. With gxnMergeEvalOnDisplay all cells in range will be recalculated.
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.
EvalMergeCells is called in Objective Grid when the user scrolls through the grid. EvalMergeCells checks if there are any pending cells that are marked to be recalculated. Each of the marked cells will be checked to see if its contents fit into the cell or if the cell can float over other cells.
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 ImplementMergeCells 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
CGXGridCore::SetMergeCellsMode CGXGridCore::DelayMergeCells
Class Overview | Class Members