EventType constants

The EventType constants identify the cause of hook invocations.

Constant Value Description
_BUTTON_CLICK 1 The hook invocation is triggered by a push button click.
_SUBDIALOG_BUTTON_CLICK 2 The hook invocation is triggered by a subdialog button click.
_ITEM_SELECTION 3 The hook invocation is triggered by an item selection.
_ITEM_DBLCLICK 4 The hook invocation is triggered by a point device double-click.
_CONTEXMENU_ITEM_SELECTION 5 The hook invocation is triggered by a contextual menu selection.
_CONTEXMENU_ITEM_CONDITION 6 Indicates whether the hook should enable or disable a contextual menu item. A string value of "1" indicates the item should be enabled. A String value of "0" indicates the item should be disabled.