Accessibility APIs sensitive to whether an NSView isFlipped
Accessibility APIs sensitive to whether an NSView isFlipped
- Subject: Accessibility APIs sensitive to whether an NSView isFlipped
- From: Håkan Waara <email@hidden>
- Date: Wed, 30 Aug 2006 17:54:39 +0200
Hello all,
I just noticed by debugging that when hit testing, or when I return a
AXPosition, the accessibility APIs peek at my NSView to look at
whether it returns YES for |-(BOOL)isFlipped| and adjust accordingly.
I had assumed that, when returning an AXPosition for something deep
down in my hierarchy, that I would always return a cocoa coordinate,
but I noticed that it depends on what the topmost NSView's coordinate
system is like.
Note that a |accessibilityHitTest:| message can be sent and return a
custom object deep down the view, that Cocoa can't see. Since this
custom object might not know what *anything* about the view's
internal properties, I think it would make more sense to say that the
APIs always expect a cocoa coordinate, or vice versa.
Anyway, some kind of comment about this automatic adjusting in the
accessibility docs would make sense.
Thanks,
Håkan Waara _______________________________________________
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