Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 3829

TC11.x bug reports (English) • Re: Old icon "search as seperate process..." In taskbar. Bug or not?

$
0
0
I hope you do it twice?

HICON hIconSmall =(HICON)LoadImage(handleToYourApplicationInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON,16, 16, 0);
HICON hIconLarge =(HICON)LoadImage(handleToYourApplicationInstance, MAKEINTRESOURCE(IDI_ICON1), IMAGE_ICON,256, 256, 0); // Big for task bar, small loaded otherwise.

SendMessage(yourWindowHandle, WM_SETICON, ICON_SMALL, (LPARAM)hIconSmall) ;
SendMessage(yourWindowHandle, WM_SETICON, ICON_BIG, (LPARAM)hIconLarge) ;

Statistics: Posted by AntonyD — 2024-12-08, 13:58 UTC



Viewing all articles
Browse latest Browse all 3829

Trending Articles