Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!ksand From: ksand@Apple.COM (Kent Sandvik) Newsgroups: comp.sys.mac.programmer Subject: Re: when to use NewCWindow? Message-ID: <12565@goofy.Apple.COM> Date: 17 Mar 91 22:19:16 GMT References: <1991Mar16.041619.29085@kuhub.cc.ukans.edu> <12376@pt.cs.cmu.edu> <1991Mar16.225917.29112@kuhub.cc.ukans.edu> Organization: Apple Computer Inc., Cupertino, CA Lines: 23 In article <1991Mar16.225917.29112@kuhub.cc.ukans.edu> 2fmlcalls@kuhub.cc.ukans.edu writes: >In article <12376@pt.cs.cmu.edu>, hairston@henry.ECE.CMU.EDU (David Hairston) writes: >Someone correct me if I'm wrong, but the Mac Plus and SE will not give you a >hasColorQD=TRUE. The SE 30 I believe does have colorQD, but then also has the >ROM routines to support it (such as NewCWindow()). So, I would guess that you >could call up a color window on an SE 30, but you would have displayed a black >and white window. 68000 based Macs don't have colorQD, the rest has. Gestalt is the best way to test for colorQD in the long run, even if SysEnvirons does the job well (i.e. no need to check for the machine type). Kent Sandvik, MacDTS, on Sunday assignment :-) PS: The local book shop has a large discount on any book that had green (St. Patrics day today) - it was the first time I made my book choices based on cover colors. Oh happy day. -- Disclaimer: Private activity on the Net, in no way connected to any company. Zippy++ says: END, END; or END. is sure clearer than "}".