IN_DeleteButton

All Editions image\bltlrgsq_shg.gif  Related Functions  image\bltlrgsq_shg.gif  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)
delete the command button from the Tool Bar

IN_BUTTONBAR_3D (3)  delete the command button from the 3D toolbar

IN_BUTTONBAR_PAGE_NAVIGATION (4)
delete the command button from the Page Navigation toolbar

IN_BUTTONBAR_VIEW (5)
delete the command button from the View toolbar

IN_BUTTONBAR_WINDOWS (6)
delete the command button from the Windows toolbar

IN_BUTTONBAR_BATCH (7)
delete the command button from the Batch toolbar

IN_BUTTONBAR_STANDARD (8)
delete the command button from the Standard toolbar

SHORT delCommandID

Command IDs

identifier of the command button to delete

 

IN_BUTTONBAR_SEPARATOR
deletes the separator in a button bar

SHORT relCommandID

Command IDs

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)
delete the separator to the left of the command button

IN_BUTTON_PSN_ NEXT (4)
delete the separator to the right of the command button

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

Adding and removing buttons

Defining buttons and button bars