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 theDrawMenuBarprocedure. If you change the enabled state of a menu, you should callDrawMenuBarto update the menu title accordingly. Alternatively, you can use theInvalMenuBarprocedure instead ofDrawMenuBarto 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