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: Vince DeMarco <email@hidden>
- Date: Wed, 2 Mar 2005 16:45:57 -0800
On Mar 2, 2005, at 4:34 PM, Satoshi Matsumoto wrote:
on 05.3.3 7:09 AM, Luc Vandal at email@hidden wrote:
does anyone know why keyDown isn't triggered for those keys? All
other
keys seems to work fine. By the way, aside from Command Q and Command
W, the main menu doesn't have any shortcuts.
You can catch all events at the following method in NSApplication
class.
- (BOOL)sendAction:(SEL)anAction to:(id)aTarget from:(id)sender
This is only used to send target/action methods not keyDown: etc.
methods.
vince
Try customizing NSApplication class and over-riding it.
Satoshi Matsumoto
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
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
_______________________________________________
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