Assume that notepad.exe is opening and the it\'s window is inactive. I will write an application to activate it. How to make?
Update: The window title i
You'd need to PInvoke the Windows API calls such as FindWindow and or EnumWindows and GetWindowText (for the title). Ideally you might also want to use GeWindowThreadProcessId so you can tie it down to the actual process.