public static void MinimizeAllOpenWindows(bool force = false) { if (force) { SEBWindowHandler.SendMessage(SEBWindowHandler.FindWindow("Shell_TrayWnd", (string)null), 273, (IntPtr)419, IntPtr.Zero); } else { SEBWindowHandler.EditAllOpenWindows(SEBWindowHandler.ShowWindowCommand.SW_SHOWMINIMIZED); } }
public static void HideAllOpenWindows() { SEBWindowHandler.EditAllOpenWindows(SEBWindowHandler.ShowWindowCommand.SW_HIDE); }