• 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: Getting key events when the program is in the background?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting key events when the program is in the background?


  • Subject: Re: Getting key events when the program is in the background?
  • From: Finlay Dobbie <email@hidden>
  • Date: Sat, 29 Jun 2002 16:47:09 +0100

On Saturday, June 29, 2002, at 04:28 PM, Pierre-Olivier Latour wrote:

1) how do you get key events in your program even when it is in the
background? Is there a clean way to do it, or do you have to use a timer and
GetKeys()?

Search HotKeys in the archives or at www.cocoadev.com

2) can you intercept key events before they are processed by the OS (like
Command-Shift-3 for example)? And optionally remove them from the global
event queue, so that no "double-action" occurs?

See http://www.obdev.at/developers/articles/00001.html -- not easy, and it's an evil hack anyway.

-- Finlay
_______________________________________________
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: Getting key events when the program is in the background?
      • From: Pierre-Olivier Latour <email@hidden>
References: 
 >Getting key events when the program is in the background? (From: Pierre-Olivier Latour <email@hidden>)

  • Prev by Date: Specifying primitive types in NSCoders
  • Next by Date: Re: Specifying primitive types in NSCoders
  • Previous by thread: Getting key events when the program is in the background?
  • Next by thread: Re: Getting key events when the program is in the background?
  • Index(es):
    • Date
    • Thread