MenuGetNodeByPath
- Last UpdatedJul 18, 2023
- 1 minute read
Returns a menu handle corresponding to a menu item expressed as a string path in the format <level>.<level>.<level>.<level>.
Syntax
MenuGetNodeByPath(INT hMenuNode, STRING sMenuPath)
hMenuNode
The menu to which the specified menu path belongs. Root menu node returned from MenuGetPageNode().
sMenuPath
The menu path for which to get the handle.
Return Value
Returns a menu handle for use with other Plant SCADA menu functions.
Example
MenuGetNodeByPath(hNavigationMenu, "MyPlant.MyArea.Page1")
Related Functions
MenuGetChild, MenuGetFirstChild, MenuGetGenericNode, MenuGetNextChild, MenuGetPageNode, MenuGetParent, MenuGetPrevChild, MenuGetWindowNode, MenuNodeAddChild, MenuNodeGetCurr, MenuNodeGetDepth, MenuNodeGetExpanded, MenuNodeGetProperty, MenuNodeGetTargetPage, MenuNodeHasCommand, MenuNodeIsDisabled, MenuNodeIsHidden, MenuNodeRemove, MenuNodeRunCommand, MenuNodeSetDisabledWhen, MenuNodeSetHiddenWhen, MenuNodeSetProperty, MenuReload