virtual BOOL MoveCols(ROWCOL nFromCol, ROWCOL nToCol, ROWCOL nDestCol, UINT flags = GX_UPDATENOW, GXCmdType ctCmd = gxDo);
nFromCol
Specifies the first column.
nToCol
Specifies the last column.
nDestCol
Specifies the destination column.
flags
Specifies the update technique. See UpdateMoveCols for more information.
ctCmd
Specifies if the executed command is undone (gxUndo), redone (gxRedo), executed the first time (gxDo) or rolled back (gxRollback).
TRUE if the command has been successfully executed; it is FALSE if the command failed or if the user aborted the operation.
Overridable command-method which moves the specified columns.
Columns are moved with StoreMoveCols. The display is updated with UpdateMoveCols.
The command generates a CGXMoveColsCmd-object with undo-information.
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
CGXGridCore::StoreMoveCols CGXGridCore::UpdateMoveCols CGXGridCore::LockUpdate
Class Overview | Class Members