Toolbar_GetToolbarInItemEvent
- Updated2023-02-21
- 1 minute(s) read
int Toolbar_GetToolbarInItemEvent (ToolbarType *toolbar);
Purpose
Use this function to obtain the handle of the toolbar where a toolbar item event originated.
This function is only valid when called inside the control callback that you pass to the Toolbar_InsertItem function.
Parameters
| Output | ||
| Name | Type | Description |
| toolbar | ToolbarType | Returns the handle of the toolbar responsible for the event. |
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 2009 and later