• 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: Background Application Receiving Keyboard/Mouse Events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Background Application Receiving Keyboard/Mouse Events


  • Subject: Re: Background Application Receiving Keyboard/Mouse Events
  • From: Martin Köhler <email@hidden>
  • Date: Wed, 27 Sep 2006 18:11:06 +0200

You can use GetEventMonitorTarget (part of Carbon Event Manager) to monitor events.

See
http://developer.apple.com/documentation/Carbon/Reference/ Carbon_Event_Manager_Ref/Reference/reference.html


Note that AFAIK you'll need a Carbon run loop, NSApplicationMain won't work.

Best regards,
	-- Martin


Am 27.09.2006 um 17:58 schrieb Jordan Evans:
Is it possible to have an application that is running in the
background receive keyboard and mouse events?

If so, how do I set that up?

_______________________________________________ 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: Re: Background Application Receiving Keyboard/Mouse Events
      • From: "Jaime Rios" <email@hidden>
References: 
 >Background Application Receiving Keyboard/Mouse Events (From: "Jordan Evans" <email@hidden>)

  • Prev by Date: Re: Notification when changes occur to an array?
  • Next by Date: Re: 10.3.9 sdk
  • Previous by thread: Background Application Receiving Keyboard/Mouse Events
  • Next by thread: Re: Re: Background Application Receiving Keyboard/Mouse Events
  • Index(es):
    • Date
    • Thread