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

MenuNodeHasCommand

Checks whether the menu node has a valid cicode command associated with it.

Syntax

MenuNodeHasCommand(hNode)

hNode:

Handle of node to check.

Return Value

1 if the menu node has a valid cicode command, 0 if the menu node has no cicode command.

Related Functions

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

See Also

Menu Functions