🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #7734

Re: Grow box AND zoom box in old system on old Mac

#7734
From: John Bruner
Date: Wed, 22 Oct 1986 22:25
18 lines
1573 bytes
>I've written a program (on a Mac Plus) that uses the new zoom box on
>its windows.  I tried it out on an old 64K ROM system with Finder 4.1
>(and the associated System) and found that there were no zoom boxes
>(expected) but that the grow box didn't work either.

The WDEF resource in the old System does not understand the modifier
bit that specifies a zoom box, so it sees a window type which is out
of bounds.  It chooses noGrowDocProc as the type of the new window.

I encountered this problem with UW.  My "fix" was to check ROM85 to
determine which ROM set is in use.  If the old (64K) ROMs are in use,
it turns off the zoom-box bit before calling NewWindow.  (It doesn't
matter if the WDEF 0 in the System file really does know about zoom
boxes, since the Window Manager in the old ROM can't handle it anyway.)
-- 
  John Bruner (S-1 Project, Lawrence Livermore National Laboratory)
  MILNET: jdb@mordor [jdb@s1-c.ARPA]	(415) 422-0758
  UUCP: ...!ucbvax!decwrl!mordor!jdb 	...!seismo!mordor!jdb
Technical Details
Message-ID: <16220@mordor.ARPA>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!sri-spam!mordor!jdb
References: <504@husc6.HARVARD.EDU>

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!rutgers!sri-spam!mordor!jdb
From: jdb@mordor.ARPA (John Bruner)
Newsgroups: net.micro.mac
Subject: Re: Grow box AND zoom box in old system on old Mac
Message-ID: <16220@mordor.ARPA>
Date: Wed, 22-Oct-86 18:25:38 EDT
Article-I.D.: mordor.16220
Posted: Wed Oct 22 18:25:38 1986
Date-Received: Wed, 22-Oct-86 23:43:15 EDT
References: <504@husc6.HARVARD.EDU>
Reply-To: jdb@mordor.UUCP (John Bruner)
Distribution: net
Organization: S-1 Project, LLNL
Lines: 18