public boolean activateWindow(HWND handle) { boolean result = user32.SetForegroundWindow(handle); return result; }