- fix for restoring applications using task bar buttons

- project file maintainancement
- docu update

svn path=/trunk/; revision=8451
This commit is contained in:
Martin Fuchs 2004-02-28 16:41:55 +00:00
parent 6a84f09c2e
commit d0cec9c1cd
2 changed files with 4 additions and 1 deletions

View file

@ -67,3 +67,4 @@ If you search for more information, look into the CVS repository.
fixes for leaking GDI handles
25.02.2004 m. fuchs rebar control for desktop bar
28.02.2004 m. fuchs "minimize all" functionality
various fixes for notification icons, task bar and desktop switching

View file

@ -201,7 +201,9 @@ int TaskBar::Notify(int id, NMHDR* pnmh)
void TaskBar::ActivateApp(TaskBarMap::iterator it, bool can_minimize)
{
HWND hwnd = it->first;
bool minimize_it = can_minimize && (hwnd==GetForegroundWindow() || hwnd==_last_foreground_wnd);
bool minimize_it = can_minimize && !IsIconic(hwnd) &&
(hwnd==GetForegroundWindow() || hwnd==_last_foreground_wnd);
// switch to selected application window
if (!minimize_it)