Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!mimsy!mojo!russotto From: russotto@eng.umd.edu (Matthew T. Russotto) Newsgroups: comp.sys.mac.programmer Subject: Re: QuickDraw question Keywords: QuickDraw EraseRect Message-ID: <1990Aug17.141538.7863@eng.umd.edu> Date: 17 Aug 90 14:15:38 GMT References: <3462@dciem.dciem.dnd.ca> Sender: news@eng.umd.edu (The News System) Organization: College of Engineering, Maryversity of Uniland, College Park Lines: 14 In article <3462@dciem.dciem.dnd.ca> juana@dciem.dciem.dnd.ca (Juana Chang) writes: > > >EraseRect( &(window->portRect) ); > >When I execute this statement I receive an "illegal instruction" error >message in ThinkC 4.0. Did you do a SetPort(window) first? One of the things that can really get you is that opening a window does NOT set the current port to that window. -- Matthew T. Russotto russotto@eng.umd.edu russotto@wam.umd.edu ][, ][+, ///, ///+, //e, //c, IIGS, //c+ --- Any questions?