LabWindows/CVI

Toolbar_Detach

int Toolbar_Detach (ToolbarType toolbar);

Purpose

Releases a docked toolbar from its host panel and makes the toolbar a floating toolbar.

Parameters

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

Obtain this handle from the Toolbar_New or Toolbar_Duplicate functions.

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_Detach function.