kAXResizedNotification and kAXMovedNotification working?
kAXResizedNotification and kAXMovedNotification working?
- Subject: kAXResizedNotification and kAXMovedNotification working?
- From: Tom Bunch <email@hidden>
- Date: Tue, 17 Jan 2006 13:06:50 -0800
Hi guys,
Has anyone successfully used the following notifications?
axErr = AXObserverAddNotification(_observer, focusedElement,
kAXResizedNotification, self);
axErr = AXObserverAddNotification(_observer, focusedElement,
kAXMovedNotification, self);
I have registered for kAXWindowMovedNotification and
kAXWindowResizedNotification successfully, but focusedElement may in
this case be contained in a split view and could therefore be resized
and/or moved without moving the window. I've checked that axErr ==
kAXErrorSuccess, that the _observer and focusedElement look
reasonable, and that _observer is actually registered with
focusedElement's application and not some other application.
Documentation on these is spartan, but I expect to receive these
notifications when a move or resize of the element is completed due
to any combination of the following:
- the window is moved
- any superview is moved or resized resulting in focusedElement's
frame changing
- pretty much anything else that might result in focusedElement's
frame changing
My AXObserverCallback is not called in any of the above cases.
That's about all I know so far.
Thanks,
-Tom
_______________________________________________
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