Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!snorkelwacker.mit.edu!hsdndev!bunny!bunny.gte.com!CAH0 From: CAH0@bunny.gte.com (Chuck Hoffman) Newsgroups: comp.sys.mac.programmer Subject: Unexpected Update Events Message-ID: <11082@bunny.GTE.COM> Date: 29 Apr 91 11:27:44 GMT Sender: news@gte.com Organization: GTE Laboratories, Inc. Lines: 29 I'm new to Mac programming, though not new to programming, and haven't read this list in some time, so forgive me if this subject has been covered recently. 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 extra events, not in response to anything my program is doing. If I select window 2, I get a stream of updates for 2. If I select window 3, I get updates for 3. If I select window 1, I get an update for 1 followed by updates for either 2 or 3, depending on which I used last. There are no extra or unexpected activate or deactivate events. There is nothing in any of the windows yet, because I've just begun to code the program. I am running under MultiFinder. Windows 2 and 3 have goaway boxes, which don't seem to have anything to do with the symptom. The symptom would not be apparent to a user of the program, except that I will eventually use the update events to trigger redrawing of the window (even that should still be not apparent). So, where are the extra update events coming from? My code? System 6.0.7 (Mac-IIcx)? MultiFinder? THINK C Debugger? Virex or Disinfectant INIT (I'm running both)? Thanks in advance. Chuck Hoffman, GTE Laboratories, Inc. | I'm not sure why we're here, cah0@bunny.gte.com | but I am sure that while we're Telephone (U.S.A.) 617-466-2131 | here, we're supposed to help GTE VoiceNet: 679-2131 | each other. GTE Telemail: C.HOFFMAN |