|
|
|
|
Menu management functions
The following functions are used to manage the menus:
| | MenuAdd | Adds an existing popup menu into the main menu of the current window. | MenuAddMenu | Adds a new menu into a window or into a page. | MenuAddOption | Adds a new menu option at the end of a menu. | MenuAddPopup | Transforms a menu option of a page in order for this option to open a popup. | MenuAddSeparator | Adds a new separator into a menu. | MenuAddURLOption | Adds a new menu option at the end of a page menu. This menu option is used to display the page corresponding to the specified URL. | MenuClone | Clones a menu or a menu option as well as the associated code. | MenuDelete | Deletes a menu or a menu option. | MenuExist | Indicates whether a menu option exists in a menu. | MenuInsertMenu | Inserts a menu before another menu in a window. | MenuInsertOption | Inserts a new option at a specific position. | MenuInsertSeparator | Inserts a separator into a menu. | MenuInvisible | Makes a menu option invisible (popup menu or drop-down menu). | MenuIsMarked | Used to find out whether a checkmark is displayed in front of a menu option (popup menu or drop-down menu). | MenuLabel | Gets or changes the label of a menu option (context or drop-down menu). | MenuMark | Positions the checkmark in front of the menu option (popup menu or drop-down menu). | MenuSelectMinus | Disables (grays) a menu option (popup menu or drop-down menu). | MenuSelectPlus | Enables a menu option (popup menu or drop-down menu). | MenuState | Identifies the state of a menu option (context menu or drop-down menu): active, inactive or invisible. | MenuUnMark | Removes the checkmark displayed in front of the menu option (popup menu or drop-down menu). |
The following functions can also be used to manage menus: | | ControlPopupOwner | Identifies the control on which the popup menu was opened. | EmulateMenu | Emulates the next menu that will be opened and automatically runs the menu option passed as parameter. | EnumMenu | In a loop, this function is used to enumerate the menu options of a window as well as the sub-options of a menu option. | EnumSubElement | In a loop, this function is used to enumerate the drop-down menus or the popup menus of a window or control. | grMenu | Enables or disables the popup menu of a chart. | OpenPopupMenu | Automatically opens a popup menu for the current control or window. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|