• 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
Capture "Space" key event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Capture "Space" key event


  • Subject: Capture "Space" key event
  • From: Mathew Peterson <email@hidden>
  • Date: Sat, 6 Mar 2004 00:53:57 +1100

I am writing an app where I would like to capture the space key event, much as iTunes does.

My guess was to sub class NSApplication, but of course events don't get passed down the chain.

Is there any way to capture this event short of subclassing every window?

Thanks for your help,

Mat
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Capture "Space" key event
      • From: Allan Odgaard <email@hidden>
  • Prev by Date: NSUndoManager -removeActionsWithTarget: does nothing
  • Next by Date: Re: OS X 10.3.x, Address Book, and initWithVCardRepresentation
  • Previous by thread: Re: NSUndoManager -removeActionsWithTarget: does nothing
  • Next by thread: Re: Capture "Space" key event
  • Index(es):
    • Date
    • Thread