🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #13477

SunView - Processing whilst Iconized

#13477
From: Timothy J. Stone
Date: Sun, 28 Jan 1990 19:42
14 lines
1055 bytes
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.
Technical Details
Message-ID: <4549@brazos.Rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!cs.utexas.edu!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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