Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Help needed using IAccessible COM interface
Help needed using IAccessible COM interface [message #41752] |
Fri, 17 January 2014 01:31 |
alex100
Messages: 118 Registered: November 2007
|
Experienced Member |
|
|
I all
I need to get text/caption of all controls of an external windows GUI app...
I dont know where to start...
I read about accessible pointer to specific window application using:
HRESULT hr = AccessibleObjectFromWindow((HWND) GetHWND(),…
pi_acc_root_win)
Also I read that we can get the name/caption of the window using:
hr = pi_acc_root_win->get_accName(g_var_self, &str_name);
Then we have to get all childs using the same way but using a IDISPATCH interface type and then get the text of each child object, etc.
It is this last operation that I don’t know how to do…
Any help/sample?
Thanks a lot
Alex
|
|
|
Goto Forum:
Current Time: Sat Apr 26 04:47:22 CEST 2025
Total time taken to generate the page: 0.02818 seconds
|