• 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: keybinding and getting keyDown for entire app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keybinding and getting keyDown for entire app


  • Subject: Re: keybinding and getting keyDown for entire app
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 22 May 2002 10:51:22 -0700

On Wednesday, May 22, 2002, at 09:14 AM, Edwin Zacharias wrote:

From reading NSResponder, it seems that keyDown events get passed down a hierarchy that ends at the key window. I want to be able to respond to any keydown that the key window doesn't handle. What's the best way to do this?

Implement -keyDown: in your application delegate's class.

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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: 
 >keybinding and getting keyDown for entire app (From: Edwin Zacharias <email@hidden>)

  • Prev by Date: Re: NSString comparing alphanumerically (with numbers)
  • Next by Date: Re: Disabling anti-aliasing in an NSTextView - is it possible?
  • Previous by thread: keybinding and getting keyDown for entire app
  • Next by thread: validateMenuItem: issues
  • Index(es):
    • Date
    • Thread