IN_AddExternalCommand

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

The IN_AddExternalCommand function adds a new, external command to the command table.

Syntax

int IN_AddExternalCommand( commandID )

Parameters

Meaning

SHORT commandID

identifier of the command to add. The ID number must be greater than or equal to 4096, but less than or equal to 7095, and must be unique for each command you add.

Remarks

Use the IN_AddExternalCommandEx function to add an external command and set its menu label, ToolTip, and Status Bar text all at once.

Release information

Added to Imagenation for Windows in Release 4.42.

Modified in Release 8.0 to support dockable toolbars.

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

See also

Defining external commands

Defining menu bars

Defining buttons and button bars