Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear members, hi to all..

First to be thanks all your wrotes, solutions..

But i can't find to answer..

i have got to process name, processID, main window hWnd, Menu hWnd of
external application. But how to get Button, Listbox, textbox or etc. controls handles or name ?

Where i will begin to..?


Example : FindWindowEx, AccessibleObjectFromPoint, AccessibleObjectFromEvent, AccessibleObjectFromWindow etc..

Please help me for methods or write to sample code piece ?

thanks advance and best regards.
Posted

Take a look at this thread[^], which has a VB.NET solution using the FindWindow() API call to get the handle of the Application, then FindWindowEx() to get the control on that application. Note that it is sensitive to the ClassName parameter case.
 
Share this answer
 
have you tried looking at the msdn forums?
 
Share this answer
 
Henry Minute, thank you too for your redirect and your reply.
vlad781, yes i look to msdn but i can't understand, and where i'll begin the code. Therefore i asked you. Thank you for your reply.

i love codeproject..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900