Cicode Programming Reference > Cicode Function Categories > Menu Functions Introduction > MenuGetGenericNode


Returns the handle to the base node of the menu tree for the generic pages. Its child nodes represent the menu items that do not have a page specified in the menu configuration database.




Determines if the node should be created if it does not exist. Defaults to 0, do not create.

Return Value

The handle to the base node of the menu tree, or -1 if it cannot find the node.

Related Functions

MenuGetChild, MenuGetFirstChild, MenuGetNextChild, MenuGetPageNode, MenuGetParent, MenuGetPrevChild, MenuGetWindowNode, MenuNodeAddChild, MenuNodeGetProperty, MenuNodeHasCommand, MenuNodeIsDisabled, MenuNodeIsHidden, MenuNodeRemove, MenuNodeRunCommand, MenuNodeSetDisabledWhen, MenuNodeSetHiddenWhen, MenuNodeSetProperty, MenuReload

See Also

Menu Functions