Accessibility APIs & custom views
Accessibility APIs & custom views
- Subject: Accessibility APIs & custom views
- From: Ryan McGann <email@hidden>
- Date: Sat, 12 Apr 2003 03:33:29 -0700
Howdy:
We have a custom view that I'd like to make sure if "accessibility
enabled". The view has the same functionality at least as the Finder's
widget that allows users to switch between column, view and list mode
(in the toolbar).
While implementing accessibility, I figured I'd need to implement -
(id)accessibilityHitTest:(NSPoint)point, but I'm not sure _what_ to
return from that method. The docs say I should return the "deepest
descendant of the accessibility hiearchy that is located under the
point". However, the area under the point is not an object, but just
graphics that we draw. I can't use NSMatrix for this control because of
the way it's drawn, NSMatrix doesn't have the appropriate geometry. I
tried implementing the various areas of the control as children, but
ran into the same problems (e.g. what values do I put in the children
array?)
Any ideas on how I can implement this functionality?
--Ryan
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.