All Databases
Inside Mac - Basic Toolbox
GetMBarHeight
GetDefFontSize
GetSysFont
GetAppFont
GetSysJust
SetSysJust
How to Hide the MenuBar
GetMBarHeight
Fetch the height of the menu bar
#include <
Script.h
>
Script Manager
short
GetMBarHeight
(
);
returns
a short; the height of the menu bar
GetMBarHeight
gets the height of the menu bar as required to hold menu
titles in its current font.
Notes: This routine is in the Pascal interface, not ROM and can't be used with the
64K ROM.
Referenced by (15):
32 Bit Gray Scale Ramp Palette Example (Inside Mac - Index)
Dialog Utilities (Inside Mac - Index)
Gray Scale Ramp Palette Example (Inside Mac - Index)
How To Hide the MenuBar (Inside Mac - Index)
Script Mgr (Inside Mac - Index)
WorldWide Software Overview (Inside Mac - Index)
Setting and Checking System Variables (Inside Mac - WWSO Mgr)
Writing Software for Other Scripts (Inside Mac - WWSO Mgr)
Track, Field 1 (MacTech Vol 06-1990)
Color Basics (MacTech Vol 09-1993)
ColorMondrian (MacTech Vol 09-1993)
Jul 93 Tips, Tidbits (MacTech Vol 09-1993)
Sep 93 Challenge (MacTech Vol 09-1993)
Sep 98 Tips (MacTech Vol 14-1998)
March 94 - THE ZEN OF WINDOW ZOOMING (develop - 1994)