Re: Getting Carbon events in Cocoa
Re: Getting Carbon events in Cocoa
- Subject: Re: Getting Carbon events in Cocoa
- From: Scott Thompson <email@hidden>
- Date: Fri, 31 Mar 2006 10:04:42 -0600
How can I get these keyboard events in an app with a Cocoa event
loop running?
[And in case anyone's wondering, I'm using Carbon here because Cocoa
doesn't appear to have an equivalent to GetEventMonitorTarget().
Using NSEvent doesn't cut it here because it won't receive the events
unless my app is in the foreground, while GetEventMonitorTarget() will
receive the events at all times.]
Perhaps a better question would be
"What are you trying to accomplish?"
Why do you need to capture keystrokes while you are in the background?
Scott
_______________________________________________
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