Re: Custom accessible Cocoa controls
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.