From 9399bfa9f2af5fdd77bba1b577adc3aa7280c8f0 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sat, 28 Feb 2004 13:45:33 +0000 Subject: [PATCH] remember last foreground window when switching desktops svn path=/trunk/; revision=8438 --- reactos/subsys/system/explorer/doc/changes.txt | 1 + reactos/subsys/system/explorer/globals.h | 1 + reactos/subsys/system/explorer/taskbar/taskbar.h | 3 +++ 3 files changed, 5 insertions(+) diff --git a/reactos/subsys/system/explorer/doc/changes.txt b/reactos/subsys/system/explorer/doc/changes.txt index 5c9be3f46fc..b686e73ee29 100644 --- a/reactos/subsys/system/explorer/doc/changes.txt +++ b/reactos/subsys/system/explorer/doc/changes.txt @@ -66,3 +66,4 @@ If you search for more information, look into the CVS repository. 23.02.2004 m. fuchs start menu navigation using first characters of entry names fixes for leaking GDI handles 25.02.2004 m. fuchs rebar control for desktop bar +28.02.2004 m. fuchs "minimize all" functionality diff --git a/reactos/subsys/system/explorer/globals.h b/reactos/subsys/system/explorer/globals.h index d46154429b3..8e0c80eba4f 100644 --- a/reactos/subsys/system/explorer/globals.h +++ b/reactos/subsys/system/explorer/globals.h @@ -182,6 +182,7 @@ typedef pair MinimizeStruct; struct Desktop { set _windows; + WindowHandle _hwndForeground; list _minimized; }; typedef Desktop DesktopRef; diff --git a/reactos/subsys/system/explorer/taskbar/taskbar.h b/reactos/subsys/system/explorer/taskbar/taskbar.h index b99c7bf8249..9f0d831fed9 100644 --- a/reactos/subsys/system/explorer/taskbar/taskbar.h +++ b/reactos/subsys/system/explorer/taskbar/taskbar.h @@ -45,6 +45,9 @@ #define IDW_TASKTOOLBAR 100 +#define PM_GET_LAST_ACTIVE (WM_APP+0x1D) + + /// internal task bar button management entry struct TaskBarEntry {