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

MenuNodeRunCommand

Run the associated command for a menu node.

Syntax

MenuNodeRunCommand(hNode)

hNode:

Handle of node to run command.

Return Value

CT_ERROR_NO_ERROR (0) on success. CT_ERROR_BAD_HANDLE (269) if hNode does not refer to a valid node.

Related Functions

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

See Also

Menu Functions