No sweat, by calling WaitForInputIdle function.
Then, as Victor already suggested, use the main process thread ID (returned in PROCESS_INFORMATION structure) to find the main window.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: getting hwnd after createprocessThreaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |