• 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: Give a menu keyboard focus - in code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Give a menu keyboard focus - in code


  • Subject: Re: Give a menu keyboard focus - in code
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 09 Oct 2011 14:16:30 -0700

Update: I'm "borrowing" the mouse using CGEventCreateMouseEvent().  It seems like it might work, but sure seems like a kludge, and many lines of code to do something very simple.

Any better ideas would be appreciated.

On 2011 Oct 09, at 12:31, Jerry Krinock wrote:

> Is there any code which can *click* a menu, to give it keyboard focus, so that the user may then select an item in the menu using arrow keys?

_______________________________________________

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: Give a menu keyboard focus - in code
      • From: Jerry Krinock <email@hidden>
References: 
 >Give a menu keyboard focus - in code (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: -dateWithTimeIntervalSinceNow: 64-bits may overflow
  • Next by Date: Re: Give a menu keyboard focus - in code
  • Previous by thread: Give a menu keyboard focus - in code
  • Next by thread: Re: Give a menu keyboard focus - in code
  • Index(es):
    • Date
    • Thread