MenuNodeIsHidden
Checks whether the menu node is hidden by evaluating its HiddenWhen cicode expression.
Syntax
MenuNodeIsHidden(hNode)
hNode:
Handle of node to check.
Return Value
1 if menu node HiddenWhen expression evaluates to true, 0 if menu node HiddenWhen expression evaluates to false.
Related Functions
MenuGetChild, MenuGetFirstChild, MenuGetGenericNode, MenuGetNextChild, MenuGetPageNode, MenuGetParent, MenuGetPrevChild, MenuGetWindowNode, MenuNodeAddChild, MenuNodeGetProperty, MenuNodeHasCommand, MenuNodeIsDisabled, MenuNodeRemove, MenuNodeRunCommand, MenuNodeSetDisabledWhen, MenuNodeSetHiddenWhen, MenuNodeSetProperty, MenuReload
Example
INT hNode = MenuNodeFirstChild(hParent); IF (MenuNodeIsHidden(hNode)) THEN ! set the menu item graphic state to hidden END
See Also