• 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 receiving Command + key events, space bar, left/right arrows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyDown:not receiving Command + key events, space bar, left/right arrows


  • Subject: Re: keyDown:not receiving Command + key events, space bar, left/right arrows
  • From: Luc Vandal <email@hidden>
  • Date: Thu, 03 Mar 2005 10:21:42 -0500

Excuse my ignorance, but what would be the view class (I'm a Cocoa newbie!). The window has 3 views (2 text views and one tree view), so should I make one of them the first responder? Right now, my model class is the delegate so it can handle keyDown but as I said earlier, I need to be able to receive every keyDown event.

Maybe the way I'm doing it right now is not the right way.

Thanks for your help!

Luc




On 2-Mar-05, at 7:29 PM, Vince DeMarco wrote:


On Mar 2, 2005, at 4:14 PM, Luc Vandal wrote:

By the way, I'm handling keyDown and performKeyEquivalent in the controller class (which is the delegate).

Luc


On 2-Mar-05, at 6:20 PM, Vince DeMarco wrote:

- (BOOL)performKeyEquivalent:(NSEvent *)theEvent


You need to do the keyDown: and performKeyEquivalent: in the view class.


Vince


_______________________________________________ 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
  • Follow-Ups:
    • Re: keyDown:not receiving Command + key events, space bar, left/right arrows
      • From: Vince DeMarco <email@hidden>
References: 
 >keyDown:not receiving Command + key events, space bar, left/right arrows (From: Luc Vandal <email@hidden>)
 >Re: keyDown:not receiving Command + key events, space bar, left/right arrows (From: Vince DeMarco <email@hidden>)
 >Re: keyDown:not receiving Command + key events, space bar, left/right arrows (From: Luc Vandal <email@hidden>)
 >Re: keyDown:not receiving Command + key events, space bar, left/right arrows (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: disabling right-mouse click and ctrl+click?
  • Next by Date: Re: foo.example.com
  • Previous by thread: Re: keyDown:not receiving Command + key events, space bar, left/right arrows
  • Next by thread: Re: keyDown:not receiving Command + key events, space bar, left/right arrows
  • Index(es):
    • Date
    • Thread