Cicode Programming Reference > Cicode Function Categories > Menu Functions > MenuGetNodeByPath

MenuGetNodeByPath

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 Citect SCADA menu functions.

Example

MenuGetNodeByPath(hNavigationMenu, “MyPlant.MyArea.Page1”)

See Also

Menu Functions

Published June 2018