Re: EventMonitorTarget in Cocoa
Re: EventMonitorTarget in Cocoa
- Subject: Re: EventMonitorTarget in Cocoa
- From: Ken Thomases <email@hidden>
- Date: Wed, 7 May 2008 16:54:40 -0500
On May 7, 2008, at 3:17 PM, Mike wrote:
I see this has been asked many times before on this list but there
doesn't seem to be a definitive answer: does the CG Event tap work
in Cocoa apps or not? If not how can one grab keystrokes from other
apps in a Cocoa app?
"CG Event tap" and "EventMonitorTarget" are two different (although
related) things.
Core Graphics (AKA Quartz) is at a level below both Cocoa and Carbon.
There's nothing Carbon-specific about CG Event taps. I'm certain that
it will work in a Cocoa app.
GetEventMonitorTarget is Carbon-specific. I don't know if it can be
meaningfully used in a Cocoa app.
-Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden