The InterceptMenuAction transaction sets whether or not the specified command is intercepted when chosen by the user, through a menu or a button. Intercept commands when you want to customize Imagenation commands, or add an external command to Imagenation.
Type XTYP_EXECUTE
Syntax [InterceptMenuAction(commandID, state)]
|
Parameter |
Data type |
Values |
Meaning |
|
commandID |
WORD |
identifier of the command to intercept. See Remarks. | |
|
state |
BOOL |
0 | 1 |
do not intercept | intercept |
Remarks
You can only intercept commands in menus. You cannot intercept menus themselves.
The NotifyIM -- MenuIntercept notification must be registered before this command can be used.
You can only intercept commands available in your edition of Imagenation.
Release information
Added in Release 3.80.
See also