LabWindows/CVI

Toolbar_Discard

int Toolbar_Discard (ToolbarType toolbar);

Purpose

Discards a toolbar.

Parameters

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

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 4.0 and later

Examples

Refer to the following examples that use the Toolbar_Discard function:

  • userint\activex\WebBrowser.cws

    Open example
  • userint\custctrl\toolbar\tooldemo.cws

    Open example