hi- On Feb 23, 2010, at 10:02 AM, Paul Sanders wrote:
> However, to answer the question, one can subclass NSApplication, override > [NSApplication terminate] and not call super. That doesn't get rid of the > menu item, but it does prevent it from quitting the app. And I guess you > might beep, too. 2 ideas: - Have the app put up a modal panel explaining that the app can only be quit from the Activity Monitor (or CLI). Or, better: Why redirect to the Activity Monitor? Why not use a delegate notification to ask the user if they really want to terminate? Why force a user to go to the Activity Monitor? - Consider writing a UI-less service without a dock (and main menu) entry and pop up UI elements as needed. thanks!- -lance _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com