CGXGridCore::StoreMoveRows

virtual BOOL StoreMoveRows(ROWCOL nFromRow, ROWCOL nToRow, ROWCOL nDestRow, BOOL bProcessed = FALSE);?

nFromRow

Specifies the first row.

nToRow

Specifies the last row.

nDestRow

Specifies the destination row.

bProcessed

Specifies if moving columns has been processed in an overridden method. You should set this value to TRUE when you call the base-class version.

Return Value

TRUE if data have been actualized; it is FALSE if moving rows is not supported.

Remarks

Overridable method which moves rows in the data-structure.

You should override this method if you do maintain the data in your own classes.

Please note that if you do override this method, you should call the base-class version of this method setting bProcessed to TRUE.See StoreInsertCols for an example.

The base-class version moves rows in the internal row-heights-map, the selected ranges-list, the covered cells-list and the cell formattings-map.

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 ImplementMoveRowsCols 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. A warning will be displayed in the debug window.

END Control-Factory Specific

See Also

 CGXGridCore::StoreInsertCols

CGXGridCore

 Class Overview |  Class Members