• 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
keyDown: not responding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

keyDown: not responding


  • Subject: keyDown: not responding
  • From: John Scalo <email@hidden>
  • Date: Tue, 05 Feb 2002 22:02:02 -0800

Seems like a simple thing but I can't get it to work. I have a controller
class that is a subclass of NSView. At some point a sheet is displayed which
contains only a static text field: "Enter a key combination now". At that
point I want to intercept key events, but my

- (void)keyDown:(NSEvent *)event

method never gets called.

I thought that if something was a subclass of NSView, and it overrides
keyDown:, then it would just work. Apparently not. What am I missing?

Thanks
John
_______________________________________________
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.

  • Follow-Ups:
    • Re: keyDown: not responding
      • From: Sam Goldman <email@hidden>
References: 
 >Re: IB trashed my Nibs! (From: Henri Lamiraux <email@hidden>)

  • Prev by Date: Re: Can you get a global Window or Application List?
  • Next by Date: Re: keyDown: not responding
  • Previous by thread: Re: IB trashed my Nibs!
  • Next by thread: Re: keyDown: not responding
  • Index(es):
    • Date
    • Thread