Chapter 8. Menu functions

This section describes functions related to Menu.

GetMenu

Returns MenuID.

GetMenuItemCount

Determines the number of items in the specified menu.

GetMenuItemIndex

Returns the index of the menu item (-1 if not found)

GetMenuItemInfo

Retrieves information about a menu item.

GetPopupHandle

Opens popup menu and returns menu id (menu handle) for it.

GetSubMenu

Retrieves a handle to the drop-down menu or submenu activated by the specified menu item.

GetSystemMenu

Allows the application to access the window menu (also known as the system menu or the control menu) for copying and modifying.

MenuSelect

Allows selecting menu programmatically