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

MenuGetChild

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

Syntax

MenuGetChild(hParent, sName)

hParent:

Handle to the parent node in the menu tree.

sName:

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