![]() | InDesign SDK 20.5 |

Public Member Functions | |
| DynPnActionComponent (IPMUnknown *boss) | |
| virtual void | DoAction (IActiveContext *ac, ActionID actionID, GSysPoint mousePoint, IPMUnknown *widget) |
Public Member Functions inherited from CActionComponent | |
| CActionComponent (IPMUnknown *boss) | |
| virtual | ~CActionComponent () |
| virtual void | UpdateActionStates (IActiveContext *ac, IActionStateList *listToUpdate, GSysPoint mousePoint, IPMUnknown *widget) |
Additional Inherited Members | |
Public Types inherited from IActionComponent | |
| enum | { kDefaultIID = IID_IACTIONCOMPONENT } |
Implements IActionComponent; responsible for the behaviour of the menu items on a dynamic panel popup menu. Just included to show that you can have multiple action components on the same plug-in with differing responsibilities.
| Binds the C implementation class onto its ImplementationID making the C code callable by the application * DynPnActionComponent::DynPnActionComponent | ( | IPMUnknown * | boss | ) |
Constructor.
| boss | interface ptr from boss object on which this interface is aggregated. |
| virtual |
The action component should do the requested action. This is where the menu item's action is taken. When a menu item is selected, the Menu Manager determines which plug-in is responsible for it, and calls its DoAction with the ID for the menu item chosen.
| ac | points to the current active context |
| actionID | identifies which action this action component should perform |
| mousePoint | contains the global mouse location at time of event causing action |
| widget | contains the widget that invoked this action. May be nil. |
Implements IActionComponent.