public static void ActivateTab() { if (taskbarSupported && hWnd != IntPtr.Zero) { taskbarInstance.ActivateTab(hWnd); } }