Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!cs.utexas.edu!rice!sun-spots-request From: nytim!tim@uunet.uu.net (Timothy J. Stone) Newsgroups: comp.sys.sun Subject: SunView - Processing whilst Iconized Keywords: Windows Message-ID: <4549@brazos.Rice.edu> Date: 28 Jan 90 19:42:04 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 14 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 17, message 8 of 12 I am trying to persuade an application to run a specific function after the program has been iconized. In particular, when a specific button is pressed, I want to push the required action on a stack and do a window_set(frame, FRAME_CLOSED, TRUE, 0); and then use the interposer to catch an event AFTER the window is iconized. No matter how I do it, the window closes but the icon doesn't show until after the long-running function completes even with notify_next_event_func() and window_release_event_lock(frame). Any ideas or code fragments would be most gratefully received.