Menu Reference

For convenience, this topic provides a list of menu programming elements grouped by functional area.

For alphabetic listings, see the following topics:

Menu Handles

GetMenu
GetSubMenu
GetSystemMenu
IsMenu

Menu-Item Information

GetMenuItemCount
GetMenuItemID
GetMenuItemInfo
GetMenuState
SetMenuItemInfo

MENUITEMINFO

Default Menu Items

GetMenuDefaultItem
SetMenuDefaultItem

Menu-Item States

CheckMenuItem
CheckMenuRadioItem
EnableMenuItem
HiliteMenuItem
SetMenuItemBitmaps

Menu Templates

LoadMenu
LoadMenuIndirect
MENUITEMTEMPLATE
MENUITEMTEMPLATEHEADER
MENUEX_TEMPLATE_HEADER
MENUEX_TEMPLATE_ITEM

Menu Creation and Modification

AppendMenu
CreateMenu
CreatePopupMenu
DeleteMenu
DestroyMenu
DrawMenuBar
InsertMenu
InsertMenuItem
ModifyMenu
RemoveMenu

SetMenuItemInfo

Menu Display

SetMenu
TrackPopupMenu
TrackPopupMenuEx
WM_CONTEXTMENU

Menu Messages

WM_COMMAND
WM_CONTEXTMENU
WM_DRAWITEM
WM_ENTERMENULOOP
WM_EXITMENULOOP
WM_INITMENU
WM_INITMENUPOPUP
WM_MEASUREITEM
WM_MENUCHAR
WM_MENUSELECT
WM_SYSCOMMAND