MenuGetParent
Returns the parent node of the menu item.
Syntax
MenuGetParent(hNode)
hNode:
Handle to the current node in the menu tree.
Return Value
The handle to parent menu node of the given menu item, or -1 if unsuccessful.
Related Functions
MenuGetChild, MenuGetFirstChild, MenuGetGenericNode, MenuGetNextChild, MenuGetPageNode, MenuGetPrevChild, MenuGetWindowNode, MenuNodeAddChild, MenuNodeGetProperty, MenuNodeHasCommand, MenuNodeIsDisabled, MenuNodeIsHidden, MenuNodeRemove, MenuNodeRunCommand, MenuNodeSetDisabledWhen, MenuNodeSetHiddenWhen, MenuNodeSetProperty, MenuReload
See Also