Important: The information in this document is obsolete and should not be used for new development.
CalcMenuSize
TheCalcMenuSizeprocedure recalculates the horizontal and vertical dimensions of
a menu and stores the new values in themenuWidthandmenuHeightfields of the menu record.
PROCEDURE CalcMenuSize (theMenu: MenuHandle);
theMenu- A handle to the menu record of the menu whose dimensions need recalculating.
DESCRIPTION
TheCalcMenuSizeprocedure uses the menu definition procedure of the specified menu to calculate the dimensions of the menu.