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

Sorry!!

I mistook copy & paste.

on 05.3.3 9:45 AM, Vince DeMarco 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.

You can catch all events at the following method in NSApplication class.

- (void)sendEvent:(NSEvent *)theEvent;

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

  • Follow-Ups:
    • NSUserPath for path to user folder?
      • From: Ronald Hofmann <email@hidden>
References: 
 >Re: keyDown:not receiving Command + key events, space bar, left/right arrows (From: Vince DeMarco <email@hidden>)

  • Prev by Date: Re: keyDown:not receiving Command + key events, space bar, left/right arrows
  • Next by Date: Re: Beginners question
  • Previous by thread: Re: keyDown:not receiving Command + key events, space bar, left/right arrows
  • Next by thread: NSUserPath for path to user folder?
  • Index(es):
    • Date
    • Thread