mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 23:55:07 +00:00
- fix for restoring applications using task bar buttons
- project file maintainancement - docu update svn path=/trunk/; revision=8451
This commit is contained in:
parent
6a84f09c2e
commit
d0cec9c1cd
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue