• 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
NSWindow delegate handling keyboard events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSWindow delegate handling keyboard events


  • Subject: NSWindow delegate handling keyboard events
  • From: "Andrew O'Laughlin" <email@hidden>
  • Date: Fri, 18 Feb 2005 23:18:00 -0500

Apple's event handling says that a windows delegate is part of the
responder chain, and that the delegate doesn't need to inherit from
NSResponder.

I'm making a simple application, and subclassing NSWindow seems like
overkill for interpreting a few keyDown and keyUp events. How would my
window's delegate respond to those events? Implementing
keyDown:(NSEvent *)event in the delegate doesn't do the trick though
the documentation seems to imply that it would.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Table Columns Don't Respect MinWidth?
  • Next by Date: Re: Window Movement Animations ???
  • Previous by thread: Designing Multi-Window document Apps
  • Next by thread: Re: NSWindow delegate handling keyboard events
  • Index(es):
    • Date
    • Thread