Toolbar_RemoveItem
- Updated2023-02-21
- 1 minute(s) read
int Toolbar_RemoveItem (ToolbarType toolbar, int position);
Purpose
Removes an item from the toolbar at the specified position.
Parameters
| Input | ||
| Name | Type | Description |
| toolbar | ToolbarType | The specifier for the toolbar from which to remove an item. Obtain this handle from the Toolbar_New or Toolbar_Duplicate functions. |
| position | int | The position of the item on the toolbar. Valid positions are from 1 to the number of items on the toolbar (as returned by Toolbar_GetNumItems). You also can use FRONT_OF_LIST or END_OF_LIST to specify the beginning or the end of the list, respectively. |
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