GetPanelMenuBar
- Updated2023-02-21
- 1 minute(s) read
GetPanelMenuBar
int GetPanelMenuBar (int panelHandle);
Purpose
Returns the handle of the menu bar associated with a specific panel.
If there is no menu associated with the panel, this function returns zero.
Parameters
Input | ||
Name | Type | Description |
panelHandle | int | Specifier for a particular panel that is currently in memory. You can obtain this handle from functions such as LoadPanel and NewPanel. |
Return Value
Name | Type | Description |
menuBarHandle | int | The handle you can use in subsequent function calls to specify this menu bar. Negative values indicate that an error occurred. Zero is not a valid handle. |
Additional Information
Library: User Interface Library
Include file: userint.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later
Example
Refer to userint\menus.cws for an example of using the GetPanelMenuBar function.