These API routines allow you to create, manipulate, and release menus.
Displays the specified menu on the screen and immediately returns control to the calling routine.
Returns the number of menu titles or bars on the specified menu.
Removes a menu from the screen.
Releases the specified menu item and frees all storage associated with this item.
Releases the specified menu and all its items and frees all storage associated with this menu.
Copies the displayed keyboard shortcut string for the specified menu item to the buffer pointed to by the text parameter.
Returns the item identifier of the index item in the specified menu.
Returns the menu item identifier or a submenu assigned to a menu item.
Copies the text of a menu bar or menu title to the buffer pointed to by text.
Returns an identifier that is currently available for use as an item identifier in the specified menu.
Returns an identifier that's available for use as a menu identifier.
Returns the actual menu identifier that corresponds to the system-defined literal for the system menu title or menu.
Sets the itemid and the menuid to indicate which menu item was selected, if any.
Adds an item with the specified itemid to the menu specified by menuid.
Creates a new menu of the specified menu type.
Specifies a routine to execute when the specified menu and item are selected.
Sets the keyboard shortcut for the specified menu item, as well as the displayed text for the keyboard shortcut.
Assigns a submenu to a menu item. This can be used to attach a menu to a title, or a submenu to a menu item.
Changes the displayed text for a menu item. The item may either be a pad or a bar.
Specifies the upper left corner, loc, of a menu.
Specifies in pixels the screen position of the upper left corner, loc, of a menu.