• 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: Dialog Command Keys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dialog Command Keys


  • Subject: Re: Dialog Command Keys
  • From: Andy Lee <email@hidden>
  • Date: Tue, 26 Jul 2011 12:29:23 -0400

On Jul 26, 2011, at 12:03 PM, Bill Appleton wrote:
> The items in the main menu DO have the standard key bindings, they are
> disabled when the modal dialogs come up

That is odd. My question is, how do those menu items "know" to be enabled when we run a modal dialog the more usual way, using a nib? Seems like something I should know but I don't have the answer offhand. I'd search the docs but I have to run in a minute -- maybe the answer is in the doc "How Modal Windows Work"? Or in the event handling doc mentioned earlier?

> The dialogs are modal

Out of curiosity, how are you displaying your dialogs? Are you using [NSApp runModalForWindow:]? Using a modal session? Something else?

--Andy

_______________________________________________

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

  • Follow-Ups:
    • Re: Dialog Command Keys
      • From: Bill Appleton <email@hidden>
References: 
 >Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Kyle Sluder <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Kyle Sluder <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)
 >Re: Dialog Command Keys (From: Joar Wingfors <email@hidden>)
 >Re: Dialog Command Keys (From: Bill Appleton <email@hidden>)

  • Prev by Date: Re: Dialog Command Keys
  • Next by Date: Re: App won't get to my code in Lion
  • Previous by thread: Re: Dialog Command Keys
  • Next by thread: Re: Dialog Command Keys
  • Index(es):
    • Date
    • Thread