The following functions allow you to access the contents of the menu configuration database in a tree-like format, and change the contents of the tree. Be reminded that changes made to the menu tree will not be persisted back to the menu configuration database.
|
Returns the handle to the child node with the specified name. |
|
|
Returns the handle to the first child of a menu node. |
|
|
Returns the handle to the base node of the menu tree for the generic pages. |
|
|
Returns the next node that shares the same parent. |
|
| MenuGetNodeByPath | Returns a menu handle corresponding to a menu item. |
|
Returns the handle to the base node of the menu tree of a specified page. |
|
|
Returns the parent node of the menu item. |
|
|
Returns the previous node that shares the same parent. |
|
|
Returns the handle to the root node for a given window. |
|
|
Dynamically adds a new item to the menu at runtime. |
|
|
Gets the handle of a menu node when an associated command is called. |
|
|
Returns the depth of a specified menu node within a menu hierarchy. |
|
|
Return the item value of the specified menu node. |
|
|
Returns the target page for a specified menu node. |
|
|
Checks whether the menu node has a valid cicode command associated with it. |
|
|
Checks whether the menu node is disabled by evaluating its DisabledWhen cicode expression. |
|
|
Returns the expansion state value of the specified menu node. |
|
|
Checks whether the menu node is hidden by evaluating its HiddenWhen cicode expression. |
|
|
Remove the menu node from the menu tree. |
|
|
Run the associated command for a menu node. |
|
|
Set the DisabledWhen expression for a newly added node. |
|
|
Sets the expansion state value of the specified menu node. |
|
|
Set the HiddenWhen expression for a newly added node. |
|
|
Set the item value of the specified menu node. |
|
|
Reload base Menu Configuration from the compiled database. |
See Also
Published June 2018