• 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: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

  • 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>)

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