IN_BatchSetButtonStatus

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

The IN_BatchSetButtonStatus function sets the status of the specified button command without refreshing the button bars in the user interface. To refresh the button bars, use IN_RebuildButtonBar.

Syntax

int IN_BatchSetButtonStatus( buttonID, status )

Parameters

Values

Meaning

SHORT buttonID

Command IDs

identifier of button command

SHORT status

IN_UI_ENABLED (1)

IN_UI_GREYED (2)

IN_UI_REMOVED (4)

(can be ORed)

Remarks

Only the status of buttons that are related to the 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.

To remove a button while leaving the command enabled, use:
IN_UI_ENABLED | IN_UI_REMOVED.

Release information

Added to Imagenation for Windows in Release 4.42.

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

See also

Adding and removing buttons

Defining buttons and button bars