All Editions
Related Functions
Example
The IN_SetButtonBarDefinition function defines the command buttons and separators that appear in the specified toolbar.
Syntax
int IN_SetButtonBarDefinition ( buttonBar, pCmdList, numCmds )
|
Parameters |
Values |
Meaning |
|
SHORT buttonBar |
IN_BUTTONBAR_RIBBON (1) IN_BUTTONBAR_TOOL (2) Tool Bar IN_BUTTONBAR_3D (3) 3D toolbar IN_BUTTONBAR_PAGE_NAVIGATION (4) IN_BUTTONBAR_VIEW (5) IN_BUTTONBAR_WINDOWS (6) IN_BUTTONBAR_BATCH (7) IN_BUTTONBAR_STANDARD (8) | |
|
SHORTPTR pCmdList |
Command IDs list defining the command buttons to place IN_BUTTONBAR_SEPARATOR (1) | |
|
SHORT numCmds |
number of items in the pCmdList parameter | |
Remarks
Only command buttons available in your edition of Imagenation, or external commands, can be added. The commands to include must be registered and must have a button set for them.
Release information
Added to Imagenation for Windows in Release 4.50.
Modified in Release 8.0 to support dockable toolbars.
This function has not been tested in Imagenation for UNIX, so it should not be used in UNIX integrations.
See also