Menus Functions (Windows CE 5.0)

Send Feedback

The following table shows the menu functions, with a description of the purpose of each.

Programming element Description
AppendMenu This function appends a new item to the end of the specified menu.
CheckMenuItem This function sets the state of the specified menu item's check mark attribute to either checked or unchecked.
CheckMenuRadioItem This function checks a specified menu item and makes it a radio item.
CreateMenu This function creates a menu.
CreatePopupMenu This function creates a pop-up menu.
DeleteMenu This function deletes an item from the specified menu.
DestroyMenu This function destroys the specified menu and frees any memory that the menu occupies.
DrawMenuBar This function redraws the menu bar part of the command bar the specified window's command bar.
EnableMenuItem This function enables or disables (grays) the specified menu item.
GetMenuItemInfo This function retrieves information about a menu item.
GetSubMenu This function retrieves the handle to the pop-up menu activated by the specified menu item.
GetSystemMenu This function is implemented as a macro to maintain compatibility with existing code.
InsertMenu This function inserts a new menu item into a menu, moving other items down the menu.
LoadMenu This function loads the specified menu resource from the executable (.exe) file associated with an application instance.
RemoveMenu This function deletes a menu item from the specified menu.
SetMenuItemInfo This function changes information about a menu item.
TrackPopupMenu This function displays a floating pop-up menu at the specified location and tracks the selection of items on the pop-up menu.
TrackPopupMenuEx This function displays a floating pop-up menu at the specified location and tracks the selection of items on the pop-up menu.

See Also

Menus Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.