Article View: comp.sys.mac
Article #16026Re: MenuBar Height
From: Larry Rosenstein
Date: Fri, 08 May 1987 21:27
Date: Fri, 08 May 1987 21:27
27 lines
1571 bytes
1571 bytes
In article <971@randvax.UUCP> florman@randvax.UUCP (Bruce Florman) writes:
>
>jmm@miro.Berkeley.EDU (James Moore) writes:
>>1. How does one get mBarHeight from Lightspeed Pascal?
>
> According to Inside Mac, p I-341, "The menu bar is white, 20 pixels
>high, and as wide as the screen, with a 1-pixel black lower border. The
>menu titles in it are always in the system font and the system font size."
>So it sounds like you can just declare a constant.
Almost. In the 128K ROMs, the menu bar height is stored in a low memory
global (MBarHeight). The Radius FPD allow the user to have a larger menu
bar; also the Kanji system software uses a larger menu bar, since Kanji
fonts are taller.
So if the machine you are running on has 64K ROMs, then the constant 20 is
OK. Otherwise, check the low memory global.
--
Larry Rosenstein
Object Specialist
Apple Computer
AppleLink: Rosenstein1
UUCP: {sun, voder, nsc, mtxinu, dual}!apple!lsr
CSNET: lsr@Apple.CSNET
Technical Details
Message-ID:
<737@apple.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!sri-unix!ctnews!pyramid!voder!apple!lsrReferences:
<18736@ucbvax.BERKELEY.EDU> <971@randvax.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!sri-unix!ctnews!pyramid!voder!apple!lsr From: lsr@apple.UUCP (Larry Rosenstein) Newsgroups: comp.sys.mac Subject: Re: MenuBar Height Message-ID: <737@apple.UUCP> Date: Fri, 8-May-87 17:27:58 EDT Article-I.D.: apple.737 Posted: Fri May 8 17:27:58 1987 Date-Received: Sat, 9-May-87 22:00:10 EDT References: <18736@ucbvax.BERKELEY.EDU> <971@randvax.UUCP> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 27