Re: keyDown:not receiving Command + key events, space bar, left/right arrows
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