Thread View: net.micro.mac
2 messages
2 total messages
Started by david fry
Wed, 22 Oct 1986 17:29
Grow box AND zoom box in old system on old Mac
Author: david fry
Date: Wed, 22 Oct 1986 17:29
Date: Wed, 22 Oct 1986 17:29
17 lines
1348 bytes
1348 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. I haven't investigated it further, but apparently the window manager was not sending a inGrowBox message to my event loop. The grow box worked fine with System 3.2 on the old machine. Is this a known feature? If so, how can companies make software work for both computers when the 64K ROM Mac's are instructed to use the old System? David Fry fry@huma1.harvard.EDU Department of Mathematics fry@harvma1.bitnet Harvard University fry%huma1@harvsc4.bitnet Cambridge, MA 02138 ...!harvard!huma1!fry
Re: Grow box AND zoom box in old system on old Mac
Author: John Bruner
Date: Wed, 22 Oct 1986 22:25
Date: Wed, 22 Oct 1986 22:25
18 lines
1573 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads