AddExternalCommandEx

All Editions  image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The AddExternalCommand transaction adds a new command to the command table, with a specific name, ToolTip, and status message. The command will be treated as a command external to Imagenation.

Type XTYP_EXECUTE

Syntax [AddExternalCommandEx(commandID, "MenuLabel", <"ToolTip">, <"statBarMsg">)]

Parameter

Data type

Values

Meaning

commandID

DWORD

any value greater than or equal to 4096

identifier of the command to add. The ID number must be unique for each command you add.

MenuLabel

string

new label for the command, maximum 80 characters

ToolTip

string

new ToolTip for the button related to that command, maximum 80 characters. Optional parameter, but must be used if statBarMsg is used.

statBarMsg

string

new Status Bar message for this command, maximum 80 characters. Optional parameter.

Release information

Added in Release 4.5.

See also

Defining external commands