IN_InterceptMenuAction

All Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_InterceptMenuAction function sets whether the specified command is intercepted when chosen through the user interface. Intercept commands when you want to customize Imagenation commands, or use an external command in Imagenation.

Syntax

int IN_InterceptMenuAction( commandID, bOnOff )

Parameters

Values

Meaning

SHORT commandID

Command IDs

command to intercept when a user selects it. See Remarks.

IN_BOOL bOnOff

FALSE | TRUE

do not intercept | intercept

Remarks

You can intercept commands in menus, but you cannot intercept menus themselves.

The NotifyMenuIntercept notification must be registered before this function can be used.

Release information

Added to Imagenation for Windows in Release 4.20.

As of Release 5.1, also available in Imagenation for UNIX.

Also supported in Imagenation 3.3 for UNIX.

See also

Intercepting commands

Defining external commands

Defining menu bars