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: Mon, 26 Nov 2007 00:23:06 -0500
On Nov 25, 2007, at 10:42 PM, Eric Schlegel wrote:
HIToolbox listens to notifications from the window server about
window position change, and updates its internal state to record the
new position (as well as sending appropriate Carbon events). I had
thought that AppKit did something similar, but it might just be on
window drag-complete.
From observing the behavior of the returned frame and the
notifications Cocoa sends, it would appear that it does indeed do
something similar, but only when the mouse stops moving for a short
period of time. Even more inexplicably it also waits this short period
of time before updating even after the mouse is released, something
which has caused great hilarity in one of my apps when attempting to
position a new overlay window after a drag.
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