|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
ChangeMenu
The ChangeMenu function has been replaced by the following specialized functions, which are
available on both Windows NT and Windows 95:
Function
| Description
| AppendMenu
| Appends a menu item to the end of a menu.
| InsertMenu
| Inserts a menu item into a menu.
| ModifyMenu
| Modifies a menu item in a menu.
| RemoveMenu
| Removes a menu item from a menu; if it is a pop-up item, the corresponding
pop-up menu is not destroyed.
|
Windows 95:
Instead of using AppendMenu, InsertMenu, and ModifyMenu, applications written exclusively for Window 95 should use the following new
functions, which are available only on Windows 95.
Function
| Description
| GetMenuItemInfo
| Gets information about a menu item.
| InsertMenuItem
| Inserts a new menu item at the specified position in a menu bar or pop-up menu.
| SetMenuItemInfo
| Changes information about a menu item.
|
Applications written for versions earlier than Windows 3.0 can continue to
call ChangeMenu. Applications written for Windows versions 3.0 and later should call these
new functions.
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
|