🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #20804

How to find screen size.

#20804
From: Randy Buckland
Date: Tue, 27 Oct 1987 14:42
19 lines
1267 bytes
Hi,
	I am a recent Mac convert and am in the process of trying to 
write some programs for it. I am reasonably sure that I have seen information
on how find the boundries of the screen for whatever macintosh the program
is running on (read make it mac II compatable). I spent a couple hours
last night pawing through inside macintosh and could not find it. Does
anyone out there know of a routine or global variable that will give me
the following information.

	- the total size of the screen (342 x 512 on a regular mac)
	- The usable size of the desktop (the above number minus the
		size of the menubar)

thanks
-- 
					Randy Buckland (919)-541-7103
					Research Triangle Institute
					rcb@rti.rti.org [128.109.139.2]
					{decvax,ihnp4}!mcnc!rti!rcb
Technical Details
Message-ID: <1810@rti.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!mcnc!rti!rcb

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!uunet!husc6!bloom-beacon!gatech!mcnc!rti!rcb
From: rcb@rti.UUCP (Randy Buckland)
Newsgroups: comp.sys.mac
Subject: How to find screen size.
Message-ID: <1810@rti.UUCP>
Date: Tue, 27-Oct-87 09:42:18 EST
Article-I.D.: rti.1810
Posted: Tue Oct 27 09:42:18 1987
Date-Received: Thu, 29-Oct-87 22:29:18 EST
Reply-To: rcb@rti.UUCP (Randy Buckland)
Organization: Research Triangle Institute, RTP, NC
Lines: 19