🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #423

Re: How to deactivate an application AND activate the previous one?

#423
From: Dave Griffiths
Date: Sat, 01 Aug 1992 22:26
20 lines
1255 bytes
In article <l7fr1cINNse8@ai.cs.utexas.edu> yu@cs.utexas.edu (Yeong-Ho Yu) writes:
>I tried to capture the postscript context of the previous application
>by putting
>
>int caller = [NXApp activeApp]
>
>either in the action routine of the utility button or
>appDidBecomeActive method of the utility application, but
>the value seemed to have changed to that of the utility already.
>(I wish they had a method called appWillBecomeActive.)
>

I agree. I also would like the context of the previous application for a
similar reason. In my app I would like to have some buttons which you press
when you are in some other app and which do something (eg post events) to
the current app. The whole concept of a Service needs to be much broader.

Anyone from NeXT care to comment? (I guess I already know the answer :-)

Dave Griffiths
Technical Details
Message-ID: <1992Aug1.222645.591@prim>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!unido!prim!dave
References: <l7fr1cINNse8@ai.cs.utexas.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!Germany.EU.net!unido!prim!dave
From: prim!dave@germany.eu.net (Dave Griffiths)
Newsgroups: comp.sys.next.programmer
Subject: Re: How to deactivate an application AND activate the previous one?
Keywords: activate
Message-ID: <1992Aug1.222645.591@prim>
Date: 1 Aug 92 22:26:45 GMT
References: <l7fr1cINNse8@ai.cs.utexas.edu>
Organization: Primitive Software Ltd.
Lines: 20