Add accessibility for custom controls in a standard Carbon window
Add accessibility for custom controls in a standard Carbon window
- Subject: Add accessibility for custom controls in a standard Carbon window
- From: Xiang Cao <email@hidden>
- Date: Wed, 30 Sep 2009 15:58:09 -0700
- Thread-topic: Add accessibility for custom controls in a standard Carbon window
Title: Add accessibility for custom controls in a standard Carbon window
Hi all,
I have a Carbon window which contains some standard controls and some custom controls. All the standard ones such as buttons, tab and check boxes work with Voice over automatically. This is great. But all the custom controls (for example, we have a custom drop box) cannot be identified by Voice Over.
The plan I was think to make this work is to add additional event handler in the carbon window for kEventAccessibleGetNamedAttribute event. When the assistive application asks for children, I will create accessibility objects for the custom controls and then add them to the children list. But I have to ask the default event handler for the standard children first and then add the custom children to that array. I’m not very familiar with carbon so I want to ask what is correct the way to ask any default accessibility parameter value. I know I just have to call super in Cocoa. But not sure about Carbon.
Thanks.
Xiang
_______________________________________________
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