All Frameworks  Class Hierarchy  This Framework  Indexes

ApplicationFrame Global Function CATAfrLockUndoRedoTransactions


HRESULT CATAfrLockUndoRedoTransactions(CATBoolean iWarning=FALSE)
Freezes the Undo/Redo mechanism.
Role: This method flushes the Undo and Redo stacks and locks transactions.
The Undo/Redo mechanism is freezed until CATAfrUnlockUndoRedoTransactions is called.
Modifications done while the Undo/Redo mechanism is freezed will not be undoable.
Parameters:
iWarning
If TRUE, displays a warning message to the user.
Returns:
S_OK
The Undo/Redo mechanism has been freezed
S_FALSE
The Undo/Redo mechanism cannot be freezed during Undo or Redo actions

This object is included in the file: CATAfrUndoRedoServices.h

Copyright © 2003, Dassault Systèmes. All rights reserved.