Generally, Cocoa developers do not write installers, but instead use PackageMaker to install our apps for us. If it's not software you're installing then, well, I don't know what to tell you. But you still can't stop the user from quitting your app. If they really want to, they can quit it from the Dock in 2 ways (Quit or Force Quit).
The recommended first step is to read the Human Interface Guidelines on what an app should and should not do. If you read and follow the HIG, your users will like you a lot better. -Steven On Wed, Feb 24, 2010 at 4:20 AM, yogin bhargava <bhargavayo...@gmail.com>wrote: > Hi All, > Thanks for your responses. The application is an installer which has to > install something. And that installer should not be allowed to quit. > > Thanks, > YOGIN > > On Wed, Feb 24, 2010 at 12:32 AM, Mark Ritchie <mark.ritc...@mac.com> > wrote: > > > Hi Yogin! > > > > On 22/Feb/2010, at 10:33 PM, yogin bhargava wrote: > > > I dont want to allow the user to quit my application except from the > > activity monitor. > > Ok, I'm curious, in what circumstance would this workflow be obvious to > the > > user of your application? I know that personally, I would be secure > > deleting any application which worked this way however that's just my > > opinion. ;-) > > > > > I have removed the controls for apple+Q button and menu option. Dock > item > > is the only thing left. > > > > And what about the other ways to terminate an application? > > For example, the force quit menu? > > > > It sounds me to that you might be developing an application which isn't > > intended to have a user interface? Is that the case? If so, then > perhaps > > this isn't the best approach... > > M. > > > > > > -- > YOGIN BHARGAVA, > Flat No TF-2, > Phase 4, > Lotus Krest, > Kundalahalli Colony, > ITPL Main Road, > Bangalore-560067 > _______________________________________________ > > 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/steven.degutis%40gmail.com > > This email sent to steven.degu...@gmail.com > -- Steven Degutis http://www.thoughtfultree.com/ http://www.degutis.org/ _______________________________________________ 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