Re: AXPosition and AXSize during window drags
Re: AXPosition and AXSize during window drags
- Subject: Re: AXPosition and AXSize during window drags
- From: Bill Cheeseman <email@hidden>
- Date: Mon, 26 Nov 2007 11:56:52 -0500
- Thread-topic: AXPosition and AXSize during window drags
on 2007-11-26 12:23 AM, Michael Ash at email@hidden wrote:
> 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.
The CGWindow solution detailed in my other message should be adaptable to
this situation in Leopard Cocoa.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
www.quecheesoftware.com
PreFab Software - www.prefabsoftware.com
_______________________________________________
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