Re: explosion when invisible element count is large
Re: explosion when invisible element count is large
- Subject: Re: explosion when invisible element count is large
- From: Mike Engber <email@hidden>
- Date: Mon, 4 Dec 2006 15:25:14 -0800
On Dec 4, 2006, at 2:07 PM, Ian Archer wrote:
Does anyone know what I can do?
Use these two calls:
extern AXError AXUIElementGetAttributeValueCount (AXUIElementRef
element, CFStringRef attribute, CFIndex *count);
extern AXError AXUIElementCopyAttributeValues (AXUIElementRef
element, CFStringRef attribute, CFIndex index, CFIndex maxValues,
CFArrayRef *values);
You can use them for any array-valued attribute that you fear might
be be very large. E.g. AXChildren.
As for determining what is actually visible, in the absence of
attributes like AXVisibleRow, you're on your own to test the bounds.
Not a particularly convenient or foolproof technique, but I can't
think of anything better.
-ME
_______________________________________________
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