Inheritance diagram for IShAction:

Public Member Functions | |
| virtual MCCOMErr MCCOMAPI | Do ()=0 |
| virtual MCCOMErr MCCOMAPI | Undo ()=0 |
| virtual MCCOMErr MCCOMAPI | Redo ()=0 |
| virtual boolean MCCOMAPI | WillCauseChange ()=0 |
| virtual boolean MCCOMAPI | CanUndo ()=0 |
| virtual void MCCOMAPI | GetPartToRedraw (IMFPart **outPart, int32 stage)=0 |
| virtual MCCOMErr MCCOMAPI | GetName (TMCString &name)=0 |
| virtual boolean MCCOMAPI | NeedsToPrepareMenus (void)=0 |
|
|
Returns true if the action is undoable. If CanUndo() returns false, Undo() and Redo() should return MC_E_NOTIMPL and do nothing.
|
|
|
Function called to actually perform the action.
|
|
|
Return the name to display in the undo/redo list.
|
|
||||||||||||
|
Gives the action the opportunity to tell the Shell that the returned part should be redrawn after Do/Undo/Redo. Return NULL in outPart if no redraw is needed.
|
|
|
|
|
|
Called to Redo the action. This can often simply call Do(). |
|
|
Called to undo the action.
|
|
|
|
1.3.9.1