Re: Using Accessibility API for Carbon application
Re: Using Accessibility API for Carbon application
- Subject: Re: Using Accessibility API for Carbon application
- From: Guy Fullerton <email@hidden>
- Date: Fri, 13 Jun 2003 10:31:20 -0700
On 6/13/03 8:57 AM, "James Han" <email@hidden> wrote:
>
I am trying to add Accessibility API to my Carbon application to get
>
information from other running applications (i.e., to get other
>
applications' windows attributes, etc). Initially I installed event handler
>
(with ApplicationEventTarget I registered kEventClassAccessibilty class
>
along with all Accessibility events) to listen for any notifications from
>
other Accessibility aware applications.
If I understand your scenario properly, you are doing things backward.
If you want to listen to other applications' accessibility notifications,
you must explicitly register for them using the framework-agnostic observer
APIs in <HIServices/AXUIElement.h>. If you want to find out information
about another application's interface, you must use the AXUIElement routines
in the same header.
The kEventClassAccessibility carbon events are for when an application wants
to make *itself* accessibile.
>
With Access for assistive devices
>
enabled, my application still doesn't get notification from other apps (even
>
Universal Acess panel). I understand any Cocoa apps under OS X 10.2 should
>
provide default accessibility. I wonder if Accessibility API is not ready
>
yet for Carbon apps. By the way, I am using OS X 10.2.6 on PowerPC G4.
>
>
Any comments are appreciated.
>
>
James Han
>
email@hidden
>
_______________________________________________
>
accessibility-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
accessibility-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/accessibility-dev
Do not post admin requests to the list. They will be ignored.