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


Returns the handle to the child node with the specified name.


MenuGetChild(hParent, sName)


Handle to the parent node in the menu tree.


The name of the child Menu node requested.

Return Value

The handle of the child node with the requested name, or -1 if unsuccessful.

Related Functions

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

See Also

Menu Functions