Toolbar_Attach
- Updated2023-02-21
- 1 minute(s) read
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 | int | The handle for the panel on which to dock the toolbar. |
Return Value
| Name | Type | Description |
| status | int | Return value indicating whether the function was successful. A negative number indicates that an error occurred. |
Additional Information
Library: Toolbar
Include file: custctrl\toolbar.h
LabWindows/CVI compatibility: LabWindows/CVI 8.0 and later
Example
Refer to userint\custctrl\toolbar\tooldemo.cws for an example of using the Toolbar_Attach function.