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

Public Types | |
| enum | { kDefaultIID = IID_ITOOLTOGGLEBEHAVIOR } |
Public Member Functions | |
| virtual bool16 | IsPointerToolToggleEnabled (uint16 currentModifiers) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Interface to allow a plugin to override the toggling of a third party tool to the pointer tool. By default, all tools will toggle to the most recent selection tool (pointer tool or direct select tool) if the Cmd key is down. By implementing this interface for your tool, you can disable this behavior.
| pure virtual |
IsPointerToolToggleEnabled Does this tool toggle to the most recent selection tool?
| currentModifiers | which modifier keys are currently pressed. |