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

Re: keyDown: not responding


  • Subject: Re: keyDown: not responding
  • From: Sam Goldman <email@hidden>
  • Date: Tue, 05 Feb 2002 22:26:12 -0800

Look up the responder chain. It is quite well documented.

- Sam

On 2/5/02 10:02 PM, "John Scalo" <email@hidden> wrote:

> 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.

--
Windows is a 32-bit patch to a 16-bit shell for an 8-bit operating system
written for a 4-bit processor by a 2-bit company without 1 bit of sense.
_______________________________________________
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: 
 >keyDown: not responding (From: John Scalo <email@hidden>)

  • Prev by Date: keyDown: not responding
  • Next by Date: TableView refresh
  • Previous by thread: keyDown: not responding
  • Next by thread: Re: IB trashed my Nibs!
  • Index(es):
    • Date
    • Thread