Re: Quit menu item undimming itself?!
Re: Quit menu item undimming itself?!
- Subject: Re: Quit menu item undimming itself?!
- From: Matt Neuburg <email@hidden>
- Date: Tue, 09 May 2006 16:15:03 -0700
- Thread-topic: Quit menu item undimming itself?!
On Tue, 9 May 2006 13:57:16 -0700, John Stiles <email@hidden> said:
>The app I'm working on is the moral equivalent of Apple's Software
>Update. It basically works the same way Software Update does—quitting
>is disallowed in the middle of an operation; instead there is a sheet
>with a Cancel button that the user can click.
>
>The Apple Installer also behaves the same as my app—it has a dialog
>with a Cancel button, and the Quit menu item does not function
But it isn't dimmed, either. And indeed, if *you* put up a sheet in *your*
app, you will find that if the user chooses Quit, your app will just beep -
you won't even get an event. And if you put up an application-modal dialog,
the Quit menu will dim of its own accord. So there is no need for you to dim
the Quit menu; Cocoa does the right thing all by itself. m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden