pinvoke.net: SetForegroundWindow (user32)
pinvoke.net › default › user32SetForegroundWindow(hWnd); }} Sample Code (C#): public static bool BringWindowToTop(string windowName, bool wait) { int hWnd = FindWindow(windowName, wait); if (hWnd != 0) { return SetForegroundWindow((IntPtr)hWnd); } return false; } // THE FOLLOWING METHOD REFERENCES THE FindWindowAPI public static int FindWindow(string windowName, bool wait)