IN_GetButtonStatus

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

The IN_GetButtonStatus function returns the availability of the specified command button.

Syntax

int IN_GetButtonStatus( buttonID, pStatus )

Input Parameters

Values

Meaning

SHORT buttonID

Command IDs

command button

Output Parameters

Values

USHORTPTR pStatus

pointer to the button's status:

IN_UI_ENABLED (1)

IN_UI_GREYED (2)

IN_UI_REMOVED (4)

IN_UI_CHECKED (8)

(can be ORed)

Remarks

Only the status of the buttons related to the commands available in your edition of Imagenation can be requested. 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.10.

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

See also

Adding and removing buttons

Defining buttons and button bars