Re: AXPosition and AXSize during window drags
Re: AXPosition and AXSize during window drags
- Subject: Re: AXPosition and AXSize during window drags
- From: Michael Ash <email@hidden>
- Date: Sun, 25 Nov 2007 12:24:17 -0500
On Nov 25, 2007, at 12:18 PM, Bill Cheeseman wrote:
As I outlined in another message, Quartz Event Taps gives me an
opportunity
to do something repeatedly during a drag of any application's
window, Cocoa
or otherwise. The question is, what can I look at during each of those
repetitive opportunities?
Your mention of Leopard-only brings to mind the CGWindow APIs, which
allow you to get the bounds of any window on screen. I would hope that
since this API seems to talk directly to the window server, it will
get you the real location of any window no matter what the
circumstances. You may experience tearing due to synchronization
issues but it's certainly better than the alternative.
Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden