• 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 events question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyDown events question


  • Subject: Re: keyDown events question
  • From: "Steven M.Palm" <email@hidden>
  • Date: Sun, 26 Oct 2003 17:55:13 -0600

On Oct 25, 2003, at 11:33 AM, Benjamin Salanki wrote:
i was reading through the responder chain docs and anything I could find about keyDown events, and to my understanding an application can only detect keyDowns if they happened in one of their of their Windows, Menus or Views. But what if I would like my app to listen to keyDowns that happened while my app was in the background? Is there a way to listen to system-wide keyDown events?

I think you have to go Carbon for this one...

Look at:

InstallApplicationEventHandler
RegisterEventHotKey

-. ----. -.-- - -.--
Steve Palm - email@hidden
-. ----. -.-- - -.--
_______________________________________________
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.

References: 
 >keyDown events question (From: Benjámin Salánki <email@hidden>)

  • Prev by Date: Re: Setting a TableView column title via code?
  • Next by Date: Re: number of bugs
  • Previous by thread: keyDown events question
  • Next by thread: TextField textdidchange
  • Index(es):
    • Date
    • Thread