Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting HIView under VO cursor




On Aug 22, 2006, at 12:45 PM, Tomas Zahradnicky wrote:

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?

Are you doing this from code inside the focused process, or from another process? HIObjectRefs are only valid inside the owning process. If that HIObjectRef goes to another process, it won't be usable there.


-eric


_______________________________________________ Do not post admin requests to the list. They will be ignored. Accessibility-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/accessibility-dev/email@hidden

This email sent to email@hidden
References: 
 >Getting HIView under VO cursor (From: Tomas Zahradnicky <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.