Menu Support Function Descriptions

Table 6.1 summarizes the menu support functions. The detailed function descriptions follow the table.

Table 6.1. Menu Support Function Summary
Function Purpose
AppendMenu Adds a new menu item to the end of a menu
CheckMenuItem Checks or unchecks a menu item
CheckMenuRadioItem Checks a menu option and clears all other menu checks within a range
CopyAcceleratorTable Copies an accelerator table
CreateAcceleratorTable Creates an accelerator table
CreateMenu Creates a new, empty menu
CreatePopupMenu Creates a pop-up menu
DeleteMenu Removes an item from a menu
DestroyAcceleratorTable Destroys an accelerator table
DestroyMenu Removes a menu from memory
DrawMenuBar Forces a window's menu bar to be repainted ...

Get Microsoft Windows 2000 API SuperBible now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.