Re: Dialog Command Keys
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