![]() | InDesign SDK 20.5 |
#include <IActionContextChecker.h>

Public Types | |
| enum | { kDefaultIID = IID_IACTIONCONTEXTCHECKER } |
Public Member Functions | |
| virtual bool16 | AllowActionToRun (ActionID actionID, uint32 enablingType)=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This interface exists to allow some actions which are usually disabled when a modal dialog is displayed to be enabled in certain cases. Usually the action manager automatically disables all actions which do not specify kEnableEvenDuringDialogs. When InCopy is running, it will first look for an IActionContextChecker interface on the current shortcut context, and call AllowActionToRun to see if the action should be enabled.
| anonymous enum |
Default IID to make UseDefaultIID()) work
| pure virtual |
Check if this action should get to run. Gets passed the actionID of the action in question, and it's enabling type.