Re: Getting HIView under VO cursor
Re: Getting HIView under VO cursor
- Subject: Re: Getting HIView under VO cursor
- From: John Louch <email@hidden>
- Date: Tue, 22 Aug 2006 13:56:34 -0700
- Thread-topic: Getting HIView under VO cursor
> Dear accessibility list members,
>
> my app needs to know which HIView is under the VO cursor. I thought
> that when I ask the application element about the
> kAXFocusedUIElementAttribute, I'll get AXUIElement of the element
> that has the VO cursor.
>
> I could then use AXUIElementGetHIObject to get an HIObjectRef of the
> object and finally check its type with IsValidControlHandle to find
> out whether this is a control or not.
>
> Did I miss something hence the above approach does not work for me?
>
> Thoughts?
>
>
> Thanks,
>
> Tomas
The VO cursor does not change what is focused until the user interacts with
a control.
HIViews are carbon only there is no concept of that through Accessibility
API.
You can of course do your own hit testing or walk the AX hierarchy like VO
does.
Thanks,
jl
--------------------------------------------------
John Louch Internet #: email@hidden
_______________________________________________
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