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: Satoshi Matsumoto <email@hidden>
- Date: Thu, 03 Mar 2005 09:34:48 +0900
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
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