🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20858

Re: How to find screen size.

#20858
From: jww
Date: Wed, 28 Oct 1987 15:50
18 lines
1220 bytes
The variable screenBits.bounds gives the size of the screen
for an XL, 128/512, 512Ke/Plus and SE; it gives the size
of the main screen (the one with the menu bar) on the
Mac II.  If you want the size of all screens on the II,
it gets more complicated.

The height of the menu bar is given by routine
GetMBarHeight, declared in the Script Manager interfaces
in MPW Pascal and C, version 2.0.  You can also use
low-memory global MBarHeight (location $0BAA).  In
both cases, this is not valid unless this is a Mac
Plus or later, such as indicated by SysEnvirons or
ROM85.
-- 
	Joel West  (c/o UCSD)
	Palomar Software, Inc., P.O. Box 2635, Vista, CA  92083
	{ucbvax,ihnp4}!sdcsvax!jww 	jww@sdcsvax.ucsd.edu
Technical Details
Message-ID: <4180@sdcsvax.UCSD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!cmcl2!beta!hc!ames!sdcsvax!jww
References: <1810@rti.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!utgpu!water!watmath!clyde!rutgers!husc6!cmcl2!beta!hc!ames!sdcsvax!jww
From: jww@sdcsvax.UUCP
Newsgroups: comp.sys.mac
Subject: Re: How to find screen size.
Message-ID: <4180@sdcsvax.UCSD.EDU>
Date: Wed, 28-Oct-87 10:50:41 EST
Article-I.D.: sdcsvax.4180
Posted: Wed Oct 28 10:50:41 1987
Date-Received: Sat, 31-Oct-87 07:04:18 EST
References: <1810@rti.UUCP>
Organization: Palomar Software, Inc., Vista, CA
Lines: 18