Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!bingvaxu!sunybcs!boulder!tramp!hartkopf From: hartkopf@tramp.Colorado.EDU (HARTKOPF JEFFREY M) Newsgroups: comp.sys.apple Subject: IIGS programming question Message-ID: <9607@boulder.Colorado.EDU> Date: 21 Jun 89 19:24:02 GMT Sender: news@boulder.Colorado.EDU Reply-To: hartkopf@tramp.Colorado.EDU (HARTKOPF JEFFREY M) Organization: University of Colorado, Boulder Lines: 14 Another question about IIGS toolbox programming: In a program I'm writing I have a small window that opens and then closes again as soon as the user presses the mouse button (anywhere on the screen). (By the way, I don't want to use a dialog box for this purpose.) That part works fine, but when the program gets back to the main event loop it interprets that mouse press as part of the event queue and acts accordingly, which I don't want. What I want it to do is use that mouse press to close the window, and then NOT add it to the event queue. Is there some way to do this? Thanks a lot. Jeff Hartkopf Internet: hartkopf@tramp.Colorado.EDU