Disposing of Menus
If you no longer need a menu in the menu list, you can delete the menu usingDeleteMenu. You should then release the memory associated with that menu using
theDisposeMenuprocedure if you created the menu usingNewMenu; otherwise,
use the Resource Manager procedureReleaseResource. See the chapter "Resource Manager" in Inside Macintosh: More Macintosh Toolbox for information on theReleaseResourceroutine.
Subtopics
- DisposeMenu
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help