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

MenuGetFirstChild

Returns the handle to the first child of a menu node.

Syntax

MenuGetFirstChild(hNode)

hNode:

The handle to the parent node in the menu tree.

Return Value

The handle to the first child node of a menu node, or -1 if unsuccessful.

Related Functions

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

See Also

Menu Functions