• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quitting an application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quitting an application


  • Subject: Re: Quitting an application
  • From: email@hidden
  • Date: Wed, 08 May 2002 15:48:30 -0700

Kent Sutherland wrote:
|I'm trying to make my application quit System Preferences without having
|to use too much code, and I haven't seen a Cocoa way of doing it.

Is there a reason you're not just letting the user do it?
Do you do it only if your application launched System Prefs?
Do you do it only if the pane you opened is visible? What if I've switched panes?

Were it me, I'd be annoyed if program A decided that I wanted program B killed without asking me first. I'd recommend against adding this "feature".

On the other hand, if you just want to provide access to a particular pane, did you know that preference panes (even standard system panes) can be loaded and displayed by any old application? (If not, the "preference panes" documentation at /Developer/Documentation/AdditionalTechnologies/PreferencePanes/index.html gives the details.)

Glen Fisher
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Quitting an application (From: Kent Sutherland <email@hidden>)

  • Prev by Date: Re: My file owner isn't getting connected
  • Next by Date: Re: My file owner isn't getting connected
  • Previous by thread: Quitting an application
  • Next by thread: Re: Quitting an application
  • Index(es):
    • Date
    • Thread