fry_b@husc4.harvard.edu (david fry) (10/22/86)
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
jdb@mordor.ARPA (John Bruner) (10/23/86)
>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