|
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.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|