Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbvax!cartan!spam!lippin From: lippin@spam (tom lippincott) Newsgroups: comp.sys.mac Subject: Re: Missing deactivate events Message-ID: <1320@cartan.Berkeley.EDU> Date: Mon, 12-Oct-87 02:08:05 EDT Article-I.D.: cartan.1320 Posted: Mon Oct 12 02:08:05 1987 Date-Received: Tue, 13-Oct-87 04:03:20 EDT References: <127200007@inmet> Sender: nobody@cartan.Berkeley.EDU Reply-To: lippin@spam.UUCP (tom lippincott) Organization: UC Berkeley Math Department Lines: 21 In article <127200007@inmet> lipsett@inmet.UUCP writes: >However, when I throw an alert box up on >the screen, deactivate events either are not generated for the windows >covered by the alert box or else the alert box toolbox routine eats >them. As a result, when the alert box is dismissed, the resulting >activate and update events lose badly, and either the windows are >displayed wrong or I get a bomb of one kind or another. I don't know what happens to those events, but it doesn't really matter -- they're not going to show up. Even if they did show up, they would be worthless because they couldn't be processed until the alert (actually any modal dialog) went away, and they'd be just before the activate event. The simple solution is to hang a flag off the refcon which tells whether the window is active. If it is, don't activate it again. May the Source be with you, --Tom Lippincott ..ucbvax!bosco!lippin "Mr. Spock does NOT say `eat hot plasma death, klingon scumbags!'" --Berke Breathed