Menu | |
The MenuHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| CreateMenu | Creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions. CreateMenu function | |
| DeleteMenu | Deletes an item from the specified menu. If the menu item opens a menu or submenu, this function destroys the handle to the menu or submenu and frees the memory used by the menu or submenu. DeleteMenu function | |
| EnableMenuItem | Enables, disables, or grays the specified menu item. EnableMenuItem function | |
| GetMenuItemCount | Determines the number of items in the specified menu. GetMenuItemCount function | |
| GetMenuItemID | Retrieves the menu item identifier of a menu item located at the specified position in a menu. GetMenuItemID function | |
| GetMenuItemInfo | Retrieves information about a menu item. GetMenuItemInfo function | |
| GetSystemMenu | Enables the application to access the window menu (also known as the system menu or the control menu) for copying and modifying. GetSystemMenu function | |
| InsertMenuItem | Inserts a new menu item at the specified position in a menu. InsertMenuItem function |