• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Quit menu item undimming itself?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Quit menu item undimming itself?!
      • From: John Stiles <email@hidden>
  • Prev by Date: Re: shared instance and nstableview
  • Next by Date: Re: shared instance and nstableview
  • Previous by thread: Re: Quit menu item undimming itself?!
  • Next by thread: Re: Quit menu item undimming itself?!
  • Index(es):
    • Date
    • Thread