Menu Routines
These API routines allow you to create, manipulate, and release menus.
_ActivateMenu( ) API Library Routine
Displays the specified menu on the screen and immediately returns control to the calling routine._CountItems( ) API Library Routine
Returns the number of menu titles or bars on the specified menu._DeActivateMenu( ) API Library Routine
Removes a menu from the screen._DisposeItem( ) API Library Routine
Releases the specified menu item and frees all storage associated with this item._DisposeMenu( ) API Library Routine
Releases the specified menu and all its items and frees all storage associated with this menu._GetItemCmdKey( ) API Library Routine
Copies the displayed keyboard shortcut string for the specified menu item to the buffer pointed to by the text parameter._GetItemId( ) API Library Routine
Returns the item identifier of the index item in the specified menu._GetItemSubMenu( ) API Library Routine
Returns the menu item identifier or a submenu assigned to a menu item._GetItemText( ) API Library Routine
Copies the text of a menu bar or menu title to the buffer pointed to by text._GetNewItemId( ) API Library Routine
Returns an identifier that is currently available for use as an item identifier in the specified menu._GetNewMenuId( ) API Library Routine
Returns an identifier that's available for use as a menu identifier._MenuId( ) API Library Routine
Returns the actual menu identifier that corresponds to the system-defined literal for the system menu title or menu._MenuInteract( ) API Library Routine
Sets the itemid and the menuid to indicate which menu item was selected, if any._NewItem( ) API Library Routine
Adds an item with the specified itemid to the menu specified by menuid._NewMenu( ) API Library Routine
Creates a new menu of the specified menu type._OnSelection( ) API Library Routine
Specifies a routine to execute when the specified menu and item are selected._SetItemCmdKey( ) API Library Routine
Sets the keyboard shortcut for the specified menu item, as well as the displayed text for the keyboard shortcut._SetItemSubMenu( ) API Library Routine
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._SetItemText( ) API Library Routine
Changes the displayed text for a menu item. The item may either be a pad or a bar._SetMenuPoint( ) API Library Routine
Specifies the upper left corner, loc, of a menu._SetMenuPointP( ) API Library Routine
Specifies in pixels the screen position of the upper left corner, loc, of a menu.