• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
kAXResizedNotification and kAXMovedNotification working?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: kAXResizedNotification and kAXMovedNotification working?
      • From: Bill Cheeseman <email@hidden>
    • Re: kAXResizedNotification and kAXMovedNotification working?
      • From: Eric Schlegel <email@hidden>
  • Prev by Date: Re: Question about proper use of NSAccessibility APIs
  • Next by Date: Re: kAXResizedNotification and kAXMovedNotification working?
  • Previous by thread: Re: Question about proper use of NSAccessibility APIs
  • Next by thread: Re: kAXResizedNotification and kAXMovedNotification working?
  • Index(es):
    • Date
    • Thread