<< Return to Main Index

< Return to Class Index

CGXGridCore::Undo

virtual BOOL Undo( );

Return Value

TRUE if the command could be successfully undone; it is FALSE if the command failed or if the undo-list is empty.

Remarks

Undo the previous undone command.

Undo pops the first command off the undo-stack and calls the object’s Execute-method.

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

END Control-Factory Specific

See Also

CGXCommand CGXGridCore::Redo

CGXGridCore

Class Overview | Class Members