• 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
Accessibility APIs & custom views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Open/Save Dialogs Questions
  • Next by Date: Outputting text to a file
  • Previous by thread: Open/Save Dialogs Questions
  • Next by thread: Outputting text to a file
  • Index(es):
    • Date
    • Thread