All Editions
Related Functions
Example
The IN_GetButtonBarDefinition function returns a list of the command buttons and button separators in the specified toolbar.
Syntax
int IN_GetButtonBarDefinition ( buttonBar, maxSize, pCmdList, pNumCmds )
|
Parameters |
Values |
Meaning |
|
SHORT buttonBar |
IN_BUTTONBAR_RIBBON (1) Obsolete. Do not use this value in new integrations. 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) | |
|
SHORT maxSize |
number of short values in the pCmdList | |
|
Values |
Meaning | |
|
SHORTPTR pCmdList |
pointer. See Command IDs. |
list of buttons and separators. For example, 101, 102, 1, 103, 104 |
|
SHORTPTR pNumCmds |
pointer to the number of items in the button bar | |
Remarks
A separator, which places a space between the buttons, is indicated by IN_BUTTONBAR_SEPARATOR or 1.
Release information
Added to Imagenation for Windows in Release 4.50.
Modified in Release 8.0 to support dockable toolbars.
As of Release 5.1, also available in Imagenation for UNIX.
See also