lsr@apple.UUCP (Larry Rosenstein) (05/09/87)
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