Using the Tab Style Page Templates > Tab Style Template Reference > Tab Style Template Functions > 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.


PageGetConfigMenuHnd(sPageName, sMenuName [, iIgnoreEmpty])


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


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


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