Re: First Responder and menus
Re: First Responder and menus
- Subject: Re: First Responder and menus
- From: mmalc crawford <email@hidden>
- Date: Wed, 5 Jul 2006 16:01:35 -0700
On Jul 5, 2006, at 3:54 PM, Alan Smith wrote:
This is all well and good but it doesn't help. I know that the menu
item isn't connected to the Responder Chain otherwise it would be
enabled.
This is not the case.
So, the question is: How do I add it to the Responder Chain?
You do not add a menu item to the responder chain. You set its target
to First Responder, and "it" searches the responder chain to discover
what its actual target is on demand.
This is all described in <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CoreAppArchitecture/chapter_7_section_6.html
>
and relevant articles in
<http://developer.apple.com/documentation/Cocoa/Conceptual/BasicEventHandling/index.html
>
mmalc
_______________________________________________
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