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