All Editions
Related Functions
Example
The IN_DeleteButton function deletes a command button or a separator from the specified toolbar. To see the changes, call IN_RebuildButtonBar.
Syntax
int IN_DeleteButton ( buttonBar, delCommandID, relCommandID, relPosition )
|
Parameters |
Values |
Meaning |
|
SHORT buttonBar |
IN_BUTTONBAR_RIBBON (1) Obsolete. Do not use this value in new integrations. delete the command button from the View Ribbon IN_BUTTONBAR_TOOL (2) IN_BUTTONBAR_3D (3) delete the command button from the 3D toolbar IN_BUTTONBAR_PAGE_NAVIGATION (4) IN_BUTTONBAR_VIEW (5) IN_BUTTONBAR_WINDOWS (6) IN_BUTTONBAR_BATCH (7) IN_BUTTONBAR_STANDARD (8) | |
|
SHORT delCommandID |
identifier of the command button to delete | |
|
|
IN_BUTTONBAR_SEPARATOR | |
|
SHORT relCommandID |
Optional. If delCommandID is a separator, then you must identify the command button next to the separator to be deleted. | |
|
SHORT relPosition |
Optional. Position of separator to delete: IN_BUTTON_PSN_PREV (3) IN_BUTTON_PSN_ NEXT (4) | |
Remarks
Only the buttons that are related to the commands available in your edition of Imagenation, or to external commands, can be deleted.
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