Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
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
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |