• 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: First Responder and menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: First Responder and menus (From: Matt Neuburg <email@hidden>)
 >Re: First Responder and menus (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: First Responder and menus
  • Next by Date: Re: First Responder and menus
  • Previous by thread: Re: First Responder and menus
  • Next by thread: Re: First Responder and menus
  • Index(es):
    • Date
    • Thread