Important: The information in this document is obsolete and should not be used for new development.
Drawing the Menu Bar
Whenever your application adds menus to or removes menus from the current menu list, you should update the titles of the menus in the menu bar using theDrawMenuBar
procedure. If you change the enabled state of a menu, you should callDrawMenuBar
to update the menu title accordingly. Alternatively, you can use theInvalMenuBar
procedure instead ofDrawMenuBar
to invalidate the menu bar; this causes the Event Manager to redraw the menu bar as part of its normal processing of update events.
Subtopics
- DrawMenuBar
- InvalMenuBar