[comp.sys.amiga.tech] Roots

peter@sugar.uu.net (Peter da Silva) (02/04/89)

Please don't go around activating other people's windows. All you'll do is
confuse the user.

I suspect, however, that just closing and re-opening your window (inactive)
will do the trick.
-- 
Peter "Have you hugged your wolf today" da Silva  `-_-'  Hackercorp.
...texbell!sugar!peter, or peter@sugar.uu.net      'U`

fgd3@jc3b21.UUCP (Fabbian G. Dufoe) (02/05/89)

From article <8903031434.AA00502@decwrl.dec.com>, by CB@frambo.dec.com (Christian Balzer):
> This should be an easy one for all ya Intuition hackers out there...
> 
> How can an application determine which window was active before it
> was called/activated?
> 
> Or more precisely, window A is active, user selects window B (running
> appliction B), B does its thing and since its a very friendly beast
> would like to return control to A. Is there an EASY way to do it?

     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?

--Fabbian Dufoe
  350 Ling-A-Mor Terrace South
  St. Petersburg, Florida  33705
  813-823-2350

UUCP: ...uunet!pdn!jc3b21!fgd3

CB@frambo.dec.com (Christian Balzer) (03/03/89)

This should be an easy one for all ya Intuition hackers out there...

How can an application determine which window was active before it
was called/activated?

Or more precisely, window A is active, user selects window B (running
appliction B), B does its thing and since its a very friendly beast
would like to return control to A. Is there an EASY way to do it?

If not, consider this a proposal for 1.4 and beyond...

- <CB>
--  _  _
 / /  | \ \  <CB> 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.