mirror of
https://github.com/reactos/reactos.git
synced 2025-07-06 22:21:35 +00: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
1 changed files with 6 additions and 0 deletions
|
@ -815,6 +815,12 @@ Control_ShowAppletInTaskbar(CPlApplet* applet, UINT index)
|
||||||
|
|
||||||
SetWindowTextW(applet->hWnd, applet->info[index].name);
|
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 */
|
/* Try loading the small icon for the taskbar button */
|
||||||
hSmallIcon = (HICON)LoadImageW(applet->hModule,
|
hSmallIcon = (HICON)LoadImageW(applet->hModule,
|
||||||
MAKEINTRESOURCEW(applet->info[index].idIcon),
|
MAKEINTRESOURCEW(applet->info[index].idIcon),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue