tags:

views:

31

answers:

1

I am starting an application in C# through Process.start(). when that application opens initially a child window runs to attempt to connect to a simulator hardware. till the child window succeeds in connecting to the hardware the child window remains in focus and the main window remains in the background. once the child window succeeds in connecting to the simulator hardware,i want to send key strokes to the main window. so i want to know the time lapse taken for it to connect to the hardware and also to capture the child window now. can anyone let me know how to do it if possible?

+3  A: 

does Process.MainWindowHandle not suite your needs.

rerun
+1 Thanks for the pointer :)
Mahesh Velaga