Using the Tab Style Page Templates > Tab Style Template Reference > Tab Style Template Functions > PageGetConfigMenuHnd

PageGetConfigMenuHnd

Gets the menu configuration node handle for the specified page name and menu (Level 1) name. The returned handle can be passed to the menu family of Cicode functions such as MenuGetFirstChild(), MenuGetNexChild(), MenuNodeGetProperty(), etc. to browse the contents of the menu.

Syntax

PageGetConfigMenuHnd(sPageName, sMenuName [, iIgnoreEmpty])

sPageName

The page name of the menu to be found in the menu configuration database

sMenuName

The menu name (Level 1) to be found in the menu configuration database

iIgnoreEmpty

Indicates whether to treat empty menu node as invalid (1), default is false (0)

Return Value

The menu handle of the specified menu (Level 1) node, otherwise -1 is returned.

Related Functions

PageDspConfigMenu, DspPopupConfigMenu

See Also

Tab Template Functions