Article View: comp.sys.next.programmer
Article #1463Yet another New NeXTanswer: services activation
From: Kate Smith
Date: Wed, 14 Oct 1992 00:09
Date: Wed, 14 Oct 1992 00:09
31 lines
1721 bytes
1721 bytes
Q: My app provides a Service, but I want it to behave a little differently than usual. Specifically, I don't want the app requesting the Service to deactivate, and I don't want my app to become the active app when it receives the data. This way, users can send data to this service without being thrown out of whatever app they're in. Is this possible? A: Yes! Service providers can dictate whether or not they're activated when providing a Service, as well as whether or not the requesting app deactivates, through the following two options in the Services message description: Activate Provider: <YES or NO> Deactivate Requestor: <YES or NO> Specifying NO in the Activate Provider field instructs the Services machinery to launch the Service provider (if not already launched) but not make it the active application. Specifying NO in the Deactivate Requestor field instructs the Services machinery not to deactivate the application requesting the Service. Omitting one of these two fields is equivalent to specifying YES. N.B. Be careful how you use this feature. Technically, you can have any combination of provider and requester activation but it would violate user interface guidelines. It really only makes sense to set these both to either YES or NO, but not a combination of the two. QAxx Valid for 2.0 Valid for 3.0
Technical Details
Message-ID:
<5422@rosie.NeXT.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!rosie!next.comShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!rosie!next.com From: kate_smith@next.com (Kate Smith) Newsgroups: comp.sys.next.programmer Subject: Yet another New NeXTanswer: services activation Keywords: nextanswer service activation Message-ID: <5422@rosie.NeXT.COM> Date: 14 Oct 92 00:09:39 GMT Sender: news@NeXT.COM Lines: 32