IN_SetButtonBarDefinition

All Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif 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)
Obsolete. Do not use this value in new integrations.

 View Ribbon

IN_BUTTONBAR_TOOL (2) Tool Bar

IN_BUTTONBAR_3D (3) 3D toolbar

IN_BUTTONBAR_PAGE_NAVIGATION (4)
Page Navigation toolbar

IN_BUTTONBAR_VIEW (5)
View toolbar

IN_BUTTONBAR_WINDOWS (6)
Windows toolbar

IN_BUTTONBAR_BATCH (7)
Batch toolbar

IN_BUTTONBAR_STANDARD (8)
Standard toolbar

SHORTPTR pCmdList

Command IDs list defining the command buttons to place

IN_BUTTONBAR_SEPARATOR (1)
space between buttons

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

Defining buttons and button bars

Adding and removing buttons