CGXGridCore::Rollback

virtual void Rollback( );

Remarks

Undo all commands since the start of the transaction without generating redo information.

Each command-object is popped off the undo-stack and its Execute method gets called with ctCmd set to gxRollback. Setting ctCmd to gxRollback tells each command not generate redo-information.

See BeginTrans for an example.

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 ImplementUndoRedo 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.

END Control-Factory Specific

See Also

 CGXCommand  CGXGridCore::BeginTrans  CGXGridCore::CommitTrans

CGXGridCore

 Class Overview |  Class Members