private void btnSysHide_Click(object sender, RoutedEventArgs e) { ZProcess selectedProc = (ZProcess)listViewWindows.SelectedItem; Utils.SysHideWindow(selectedProc); }
private void btnForceMinimize_Click(object sender, RoutedEventArgs e) { ZProcess selectedProc = (ZProcess)listViewWindows.SelectedItem; Utils.ForceMinimizeWindow(selectedProc); }
public static void MinimizeWindow(ZProcess Proc) { ShowWindow(Proc.Handle, SW_MINIMIZE); }
internal static void HideWindow(ZProcess Proc) { ShowWindow(Proc.Handle, SW_HIDE); }
internal static void SysHideWindow(ZProcess Proc) { SendMessage(Proc.Handle, WM_SYSCOMMAND, SC_MINIMIZE, null); }
internal static void ForceMinimizeWindow(ZProcess Proc) { ShowWindow(Proc.Handle, SW_FORCEMINIMIZE); }