Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 3 - Menu Manager / Menu Manager Reference
Menu Manager Routines


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 the DrawMenuBar procedure. If you change the enabled state of a menu, you should call DrawMenuBar to update the menu title accordingly. Alternatively, you can use the InvalMenuBar procedure instead of DrawMenuBar 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

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996