mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:02:56 +00:00
[User32]
- Alt-Tab Use windows logo icon as default. Patch from CORE-7864 #resolve svn path=/trunk/; revision=66044
This commit is contained in:
parent
3163c145e4
commit
17b607a05e
1 changed files with 7 additions and 2 deletions
|
@ -121,8 +121,13 @@ BOOL CALLBACK EnumerateCallback(HWND window, LPARAM lParam)
|
||||||
hIcon = (HICON)SendMessageW(window, WM_GETICON, ICON_SMALL2, 0);
|
hIcon = (HICON)SendMessageW(window, WM_GETICON, ICON_SMALL2, 0);
|
||||||
if (!hIcon)
|
if (!hIcon)
|
||||||
{
|
{
|
||||||
// If all fails, give up and continue with the next window
|
// using windows logo icon as default
|
||||||
return TRUE;
|
hIcon = gpsi->hIconWindows;
|
||||||
|
if (!hIcon)
|
||||||
|
{
|
||||||
|
//if all attempts to get icon fails go to the next window
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue