|
Menu-Item Position
In addition to having a unique identifier, each menu item in a menu bar or
menu has a unique position value. The leftmost item in a menu bar, or the top item
in a menu, has position zero. The position value is incremented for subsequent
menu items. Windows assigns a position value to all items in a menu, including
separators. The following illustration shows the position values of items in a
menu bar and in a menu.
When calling a menu function that modifies or retrieves information about a
specific menu item, you can specify the item using either its identifier or its
position. For more information about modifying the contents of a menu, see Menu Modifications.
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|