Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.iastate.edu!niko From: niko@iastate.edu (Schuessler Nikolaus E) Newsgroups: comp.sys.mac.programmer Subject: Re: Unexpected Update Events Message-ID: <1991Apr29.170744.12029@news.iastate.edu> Date: 29 Apr 91 17:07:44 GMT References: <11082@bunny.GTE.COM> Sender: news@news.iastate.edu (USENET News System) Organization: Iowa State University, Ames, IA Lines: 21 In article <11082@bunny.GTE.COM> CAH0@bunny.gte.com (Chuck Hoffman) writes: > > Using THINK C 4.0, and its Debugger, I've written a short program with >three windows open. With the Debugger, I'm finding that about every >second there is an update event generated for one or the other of the >second and third windows. I get all the update events I expect; these are I was writing a game and it only had one window. I had it redraw the screen every time there was an update event... Same problem! There were so many update events that that the screen constantly flickered while it was doing the updating... doesn't GetNextEvent remove the event? Do you HAVE to use the BEGIN UPDATE and END UPDATE procedures to get it to stop? --