Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!frocky.dec.com!CB From: CB@frocky.dec.com (Christian Balzer) Newsgroups: comp.sys.amiga.tech Subject: Roots II (the window saga continues) Message-ID: <8902171326.AA00249@decwrl.dec.com> Date: 17 Feb 89 13:26:12 GMT Organization: Digital Equipment Corporation Lines: 41 Oh well, in a world much brighter and better than this I'll hopefully be able to give examples that are easily understood. Fabbian Dufoe wrote: > Yep. Don't do anything. Intuition automatically activates the >previously active window when you close one. You can' get any easier than >that, can you? That's in fact easy and I knew that (really!:-), however Intuition will NOT activate the previously active window, BUT the window the application was started from, ie, the CLI it was RUN'ed from or the WB backdrop window (this is also true when the original CLI is gone by the time the application exits). And I wasn't talking about closing the window... Peter da Silva won't let me activate other people's windows, but what do I care what married folks tell me. :-) And his hint won't work for my application, too. So I'll re-phrase my question and give a real life example: How can an iconified/hotkey application determine which window was active before it was activated (NOT STARTED!) ? Take a look at all the -X utilities by Steve Tibbet, NAG, etc. Wouldn't it be nice if you did your thing with those applications and when you're finished (for now), that they could activate your previously active window after shrinking/iconifiecation(sp?)/dissolving? As far as I can see it, there is currently no (OS supported) way to do it, and that's why these programs don't support this user friendly method. So my proposal for such a mechanism in 1.4 still stands... - -- _ _ / / | \ \ aka Christian Balzer - The Software Brewery - < < |-< > UUCP: ...!decwrl!frambo.dec.com!cb OR cb@frambo.dec.com \ \_ |_/ / CIS : 71001,210 (be brief!) | Phone: +49 6150 4151 (CET!) ------------ Mail: Im Wingertsberg 45, D-6108 Weiterstadt, F.R.G.