• 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
How to set focus on NSMenu (make it get key events)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set focus on NSMenu (make it get key events)?


  • Subject: How to set focus on NSMenu (make it get key events)?
  • From: Nava Carmon <email@hidden>
  • Date: Fri, 27 Aug 2010 10:34:40 +0300

Hi,

I have a status menu with a NSSearchField and menu items. When search field is active and user presses up & down arrows, I'd like to start menu tracking, that is that the user will be able to move with arrow keys between menu items. I can catch moveUp and moveDown selectors. How can I cause the menu to become a key responder?

Thanks,

Nava


Nava Carmon
email@hidden

"Think good and it will be good!"

_______________________________________________

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: How to set focus on NSMenu (make it get key events)?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: [moderator] Re: This is a test
  • Next by Date: Re: Performance issue
  • Previous by thread: Re: [moderator] Re: This is a test
  • Next by thread: Re: How to set focus on NSMenu (make it get key events)?
  • Index(es):
    • Date
    • Thread