ClearActionHistory
The ClearActionHistory method clears the undo and redo stacks.
void ClearActionHistory (
in ODRespectMarksChoices respectMarks);
respectMarks
- The possible values for clearing an action history. The value of
respectMarks must be one of the following: kODRespectMarks or kODDontRespectMarks.
DISCUSSION
The value kODRespectMarks for the respectMarks parameter indicates that the stacks are cleared down only to the specified marks; that is, only actions within an action subhistory are cleared. The value kODDontRespectMarks indicates that the stacks are cleared in their entirety.
SEE ALSO
"Creating an Action Subhistory" on page 261 in OpenDoc Programmer's Guide.
"Clearing the Action History" on page 262 in OpenDoc Programmer's Guide.