Important: The information in this document is obsolete and should not be used for new development.
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