Any links to code to get the control tree? Thanks.
views:
125answers:
2
+1
A:
If you have an HWND, you can use AccessibleObjectFromWindow() to get the IAccessible interfaces.
jeffamaphone
2009-09-13 20:14:13
Not very helpful; I don't know why they up voted this.
max
2009-09-14 05:04:47
What would be helpful? Maybe you should elaborate on your question.
jeffamaphone
2009-09-14 05:53:03
A:
To elaborate on the answer from jeffamaphone:
Use AccessibleObjectFromWindow() to get an IAccessible object on which you can use the AccessibleChildren() method to get the children and thus be able to walk the accessiblity tree.
Doug Ferguson
2010-03-01 17:03:34