Re: Removing quit button from dock menu
Re: Removing quit button from dock menu
- Subject: Re: Removing quit button from dock menu
- From: Jens Alfke <email@hidden>
- Date: Wed, 24 Feb 2010 08:06:09 -0800
On Feb 24, 2010, at 1:20 AM, yogin bhargava wrote:
> Thanks for your responses. The application is an installer which has to
> install something. And that installer should not be allowed to quit.
As others have said, it's better to use Apple's installer app, if possible.
Don't try to remove the Quit command. Instead, disable the command in the main menu, and implement the app delegate method such that the user gets an alert if they try to quit through other means like the Dock menu.
—Jens_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden