virtual void PrepareChangeSelection(POSITION SelRectId, ROWCOL nTop = 0, ROWCOL nLeft = 0, ROWCOL nBottom = 0, ROWCOL nRight = 0, BOOL bCreateHint = FALSE);?
SelRectId
Reference (Iterator) for current selection.
nTop
Specifies the first row id.
nLeft
Specifies the first column id.
nBottom
Specifies the last row id.
nRight
Specifies the last column id.
bCreateHint
Specifies if a hint should be created.
Overridable method which inverts the cells before the rangelist is updated.
The method creates the following hint:
CGXGridHint hint(gxHintPrepareChangeSelection, m_nViewID);
hint.vptr = SelRectId;
hint.nRow1 = nTop;
hint.nCol1 = nLeft;
hint.nRow2 = nBottom;
hint.nCol2 = nRight;
You can override this method if you need to change the hint.
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 ImplementUserSelectRange 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 performs no action. A warning will be displayed in the debug window.
END Control-Factory Specific
CGXRangeList CGXGridCore::SetSelection
Class Overview | Class Members