• 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
Re: Custom accessible Cocoa controls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom accessible Cocoa controls


  • Subject: Re: Custom accessible Cocoa controls
  • From: arekkusu <email@hidden>
  • Date: Fri, 20 Jun 2003 20:02:04 -0700

email@hidden wrote:
> 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 have exactly the same problem, trying to subclass NSSlider.

I want to replace the slider knob with an resizable oblong knob. I have
the tracking and drawing working, but UIElementInspector still shows me
"AXValueIndicator" in the old knobRect which is not what I want. How am
I supposed to override accessibilityHitTest: when the knob and slider
are both drawn by the same cell?

How does the regular slider do it?
_______________________________________________
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.

  • Follow-Ups:
    • Re: Custom accessible Cocoa controls
      • From: Mike Engber <email@hidden>
  • Prev by Date: Re: NSOpenGLView in NSSplitView, redraw problems
  • Next by Date: Re: Opening Finder window from another app
  • Previous by thread: Re: NSDocument without Title - Solved
  • Next by thread: Re: Custom accessible Cocoa controls
  • Index(es):
    • Date
    • Thread