|
|
Structure defines a menu item |
|
||||||||||||||||||||||||
|
Checks a specified menu item and makes it a radio item. This function checks a specified menu item and makes it a radio item. At the same time, the function unchecks all other menu items in the associated group and clears the radio-item type flag for those items.
|
|
|
Creates an empty menu. This function creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem functions.
|
|
|
Creates a drop-down menu or submenu. This function creates a drop-down menu or submenu. The menu is initially empty. You can insert or append menu items by using the InsertMenuItem function.
|
|
||||||||||||
|
Creates a system menu. This function creates a system menu for the main window specified by hwnd.
|
|
||||||||||||||||
|
Deletes an item from the specified menu. This function deletes an item from the specified menu hmnu. Either the item is a normal menu item or a submenu, this function will delete the item.
|
|
|
Destroys the specified menu and frees any memory that the menu occupies. This function destroys the specified menu hmnu and frees any memory that the menu occupies.
|
|
|
Redraws the menu bar of the specified main window. This function redraws the menu bar of the specified main window. If the menu bar changes after the system has created the window, this function must be called to draw the changed menu bar.
|
|
||||||||||||||||
|
Enables, disables, or grays the specified menu item. This function enables, disables, or grays the specified menu item.
|
|
|
Retrieves the handle to the menu assigned to the given main window. This function retrives the handle to the menu assigned to the given main window hwnd.
|
|
||||||||||||||||
|
Retrieves the rect of a menu bar item. This function retrieves the rect of the menu bar item specified by the parameter pos.
|
|
|
Determines the number of items in a menu. This function determines the number of items in the specified menu hmnu.
|
|
||||||||||||
|
Retrieves the menu item identifier of a menu item at specified position in a menu. This function retrieves the menu item identifier of a menu item at the specified position pos in the specified menu hmnu.
|
|
||||||||||||||||||||
|
Retrieves information about a menu item. This function retrieves information about a menu item, and returns the information via pmii.
|
|
|
Retrieves the submenu of the specified popup menu. This function retrieves the submenu of the specified popup menu.
|
|
||||||||||||
|
Retrieves the handle to the submenu activated by the specified menu item. This function retrieves the handle to the drop-down menu or submenu activated by the specified menu item.
|
|
||||||||||||
|
Allows the application to access the window menu (also known as the system menu) for copying and modifying. This function returns the handle to the system menu of the main window. This allows the application to access the window menu (also known as the system menu) for copying and modifying.
|
|
||||||||||||||||
|
Draws the specified menubar item with 3D effect. This function draws the specified menubar item with 3D effect.
|
|
||||||||||||||||||||
|
Inserts a new menu item at the specified position in a menu. This function inserts a new menu item specified by pmmi at the specified position (determined by item and flag) in the menu hmnu.
|
|
|
Determines whether a handle is a menu handle. This function determines whether the handle specified by hmnu is a menu handle.
|
|
||||||||||||||||
|
Deletes a menu item or detaches a submenu from the specified menu. This function deletes a menu item or detaches a submenu from the specified menu hmnu. If the item is a normal menu item, the function will delete the item. If the item is a submenu, the function will detache the submenu for the menu, but not delete the submenu.
|
|
||||||||||||
|
Assigns a new menu to the specified main window. This functionn assigns the specified menu hmnu to the main window specified by hwnd.
|
|
||||||||||||||||||||||||
|
Associates the specified bitmap with a menu item. This function associates the specified bitmap with a menu item. Whether the menu item is checked or unchecked, the system displays the appropriate bitmap next to the menu item.
|
|
||||||||||||||||||||
|
Changes information about a menu item. This function changes information about the specified menu item.
|
|
|
Strips the title of the popup menu. This function strips the title of the popup menu hpppmnu.
|
|
||||||||||||
|
Displays the specified submenu. This function displays the specified submenu in the menu bar of the specified main window hwnd.
|
|
||||||||||||||||||||||||
|
Displays and tracks a popup menu. This function displays a shortcut menu at the specified location and tracks the selection of items on the menu. The shortcut menu can appear anywhere on the screen.
|
1.4.2