• 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: Getting keyDown for option key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting keyDown for option key


  • Subject: Re: Getting keyDown for option key
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 20 Apr 2004 13:01:38 -0700

On Apr 20, 2004, at 11:42 AM, Darrin Cardani wrote:
I would like to change the cursor when it's over a particular window and the user presses the option key. I have a -keyDown: method in the window controller, but it doesn't get called when the user only presses the option key. What do I need to do to get that key down event?

Check out -[NSResponder flagsChanged:].

-- Chris

--
Chris Hanson <email@hidden>
http://www.livejournal.com/users/chanson/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Getting keyDown for option key (From: Darrin Cardani <email@hidden>)

  • Prev by Date: Re: Getting keyDown for option key
  • Next by Date: Re: [extremely OT] Saving the world.
  • Previous by thread: Re: Getting keyDown for option key
  • Next by thread: catching signals
  • Index(es):
    • Date
    • Thread