Re: Modal dialog weirdness
Re: Modal dialog weirdness
- Subject: Re: Modal dialog weirdness
- From: Derrick Bass <email@hidden>
- Date: Sun, 20 Nov 2005 17:29:51 -0600
On Nov 20, 2005, at 9:07 AM, Kelvin Delbarre wrote in an off-list email:
On Nov 19, 2005, at 3:41 PM, Derrick Bass wrote:
Can someone point me to an explanation on how menu item enabling
works in Cocoa? And how it changes during a modal dialog?
You might find this helpful:
http://www.cocoabuilder.com/archive/message/cocoa/2004/10/7/119051
Thanks! That *is* helpful. I wish that were in the docs; somehow it
never came up in all my Googling.
The post mentions that you can get a directly connected menu item to
work by use "worksWhenModal". However, "worksWhenModal" is a window
and panel method; so I assume that for "Quit" I have to stick to the
workaround of connecting it to the First Responder instead of
directly to NSApplication?
Derrick
_______________________________________________
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