IN_BatchSetMenuStatus

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

The IN_BatchSetMenuStatus function sets the availability of the specified menu item without refreshing the menus in the user interface. To refresh the menus, use IN_RefreshMenus.

Syntax

int IN_BatchSetMenuStatus( menuID, status )

Parameters

Values

Meaning

SHORT menuID

Command IDs

identifier of command to set the status of

SHORT status

IN_UI_ENABLED (1). See Remarks.

IN_UI_GREYED (2)

IN_UI_REMOVED (4)

IN_UI_CHECKED (8). See Remarks.

(can be ORed)

Remarks

Only the status of commands available in your edition of Imagenation can be enabled.

Your integration is responsible for controlling the availability of external commands that you have added to the command table.

Release information

Added to Imagenation for Windows in Release 4.42.

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

See also

Changing menu contents

Defining menu bars