• 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
Allowing menu item selection in a modal session
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Allowing menu item selection in a modal session


  • Subject: Allowing menu item selection in a modal session
  • From: email@hidden
  • Date: Wed, 13 Aug 2008 15:11:47 +0800 (WST)
  • Importance: Normal

Hi,

I have an application that sometimes runs a modal window (entered via
[NSApplication runModalForWindow:]).  During this modal session, I'd like
to allow the user to select a menu item (namely, the "Quit" item),
however, all menu items are automatically disabled when the modal session
is entered.

Is there any way to keep a menu item enabled during a modal session?

Thanks!
Doug



_______________________________________________

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

  • Prev by Date: Programmatic removal of an object..
  • Next by Date: Checking whether Spotlight indexing is enabled for a volume
  • Previous by thread: Re: Programmatic removal of an object..
  • Next by thread: Re: Allowing menu item selection in a modal session
  • Index(es):
    • Date
    • Thread