Re: Quitting an application
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.