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 integer Specifier for a particular panel that is currently in memory. You obtain this handle from LoadPanel, NewPanel, or DuplicatePanel.

Return Value

Name Type Description
menuBarHandle integer 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.

Code Error Message String
xx Success