The ChangeMenu function has been replaced by the following specialized functions, which are available on both Windows NT and Windows 95:
Function |
Description |
Appends a menu item to the end of a menu. | |
Inserts a menu item into a menu. | |
Modifies a menu item in a menu. | |
Removes a menu item from a menu; if it is a pop-up item, the corresponding pop-up menu is not destroyed. |
Function |
Description |
Gets information about a menu item. | |
Inserts a new menu item at the specified position in a menu bar or pop-up menu. | |
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.