CalcMenuSize
CalcMenuSize Calculate the size of a menu rectangle
#include <Menus.h> Menu Manager
void CalcMenuSize(theMenu );
MenuHandle theMenu ; handle of menu of interest
This recalculates the height and width of the menu. There is no reason to use
this function unless you have created your own menu definition procedure.
theMenu is a handle leading to a variable-length MenuInfo structure. It
identifies the menu whose size you want recalculated.
Returns: none

Notes: This function adds the widths and heights of each item in theMenu and
stores the totals into the MenuInfo.menuHeight and menuWidth fields.
Since this is done automatically by each Menu Manager function that might
cause the menu to change sizes, there is no reason to call this explicitly if
you are using the standard menu definition routines.
See Custom Menus for information on defining your own menu handler.