Re: mouse move events for non-frontmost window/app
Re: mouse move events for non-frontmost window/app
- Subject: Re: mouse move events for non-frontmost window/app
- From: Bill Cheeseman <email@hidden>
- Date: Fri, 29 Jun 2007 05:04:56 -0400
- Thread-topic: mouse move events for non-frontmost window/app
on 2007-06-29 3:57 AM, James Rodden at email@hidden wrote:
> I have a frame-less window with a WebView in it. When the window and app are
> both frontmost, mouse rollover effects happen correctly, but I'd like to get
> the same behavior when the app is not frontmost...or even if it has the
> LSBackgroundOnly tag in the info.plist turned on.
>
> How can I achieve this?
Use Quartz Event Taps, available in Tiger and newer. You can download my
free PreFab Event Taps Testbench utility to get an idea how they work.
<http://prefabsoftware.com/eventtapstestbench/>.
Apple's event taps documentation is at
<http://developer.apple.com/documentation/Carbon/Reference/QuartzEventServic
esRef/index.html>.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
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