Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rice!sun-spots-request From: dave@amc-gw.AMC.com (David M. Karr) Newsgroups: comp.sys.sun Subject: Sunview: Want to "back" window upon detecting "close" Keywords: Windows Message-ID: <5434@brazos.Rice.edu> Date: 3 Mar 90 01:49:54 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 13 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 65, message 5 I made some modifications to the "contool" program such that when messages come in, it "front"s the window to make sure you can see the Stop sign. That works fine, but I also wanted to "back" the window when the window goes from "open" to "closed". I can't figure out how to detect that the window has changed state from open to closed. I only want it to "back" the window when it has just changed state. I don't want it to "back" it whenever it finds it is closed. Is there any way to do this? David Karr dave@ttrnds.UUCP or ...amc-gw!ttrnds!dave Teltrend Corp., 12034 115th Ave. NE, Kirkland, WA 98034 (206)820-6500 "The above statements do not necessarily reflect the opinions of my employer."