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 / Recalculating Menu Dimensions


CalcMenuSize

The CalcMenuSize procedure recalculates the horizontal and vertical dimensions of
a menu and stores the new values in the menuWidth and menuHeight fields of the menu record.

PROCEDURE CalcMenuSize (theMenu: MenuHandle); 
theMenu
A handle to the menu record of the menu whose dimensions need recalculating.
DESCRIPTION
The CalcMenuSize procedure uses the menu definition procedure of the specified menu to calculate the dimensions of the menu.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996