mirror of
https://github.com/reactos/reactos.git
synced 2024-11-24 12:03:31 +08:00
[SHELL32] Fix taskbar large icon for control panel applets
Addendum to 0e8cf6f
(#5465).
CORE-11698
This commit is contained in:
parent
4c21d97d84
commit
32411dece0
@ -815,6 +815,12 @@ Control_ShowAppletInTaskbar(CPlApplet* applet, UINT index)
|
||||
|
||||
SetWindowTextW(applet->hWnd, applet->info[index].name);
|
||||
|
||||
/* Set large icon for the taskbar button */
|
||||
if (applet->info[index].icon)
|
||||
{
|
||||
SendMessageW(applet->hWnd, WM_SETICON, ICON_BIG, (LPARAM)applet->info[index].icon);
|
||||
}
|
||||
|
||||
/* Try loading the small icon for the taskbar button */
|
||||
hSmallIcon = (HICON)LoadImageW(applet->hModule,
|
||||
MAKEINTRESOURCEW(applet->info[index].idIcon),
|
||||
|
Loading…
Reference in New Issue
Block a user