Re: Background Application Receiving Keyboard/Mouse Events
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