Toolbar_Attach

int Toolbar_Attach (ToolbarType toolbar, int panel);

Purpose

Docks a toolbar on the given panel as the bottom toolbar. This function creates a new row in the toolbar area.

Parameters

Input
Name Type Description
toolbar ToolbarType The specifier for the toolbar to attach.

Obtain this handle from the Toolbar_New or Toolbar_Duplicate functions.
panel integer The handle for the panel on which to dock the toolbar.

Return Value

Name Type Description
status integer Return value indicating whether the function was successful. A negative number indicates that an error occurred.