Menu Handles

The system generates a unique handle for each menu. A menu handle is a value of the HMENU type. An application must specify a menu handle in many of the Windows menu functions. You receive the handle of a menu bar when you create the menu or load a menu resource. For more information about creating and loading menus, see Menu Creation.

To retrieve the handle of the menu bar for a menu that has been created or loaded, use the GetMenu function. To retrieve the handle of the submenu associated with a menu item, use the GetSubMenu or GetMenuItemInfo function. To retrieve the handle of a window menu, use the GetSystemMenu function.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database