How do I set the taskbar scrolling icon for a Dialog based application window. I need to set the icon which is displayed while user press ALT+TAB to switch between multiple open window. Usually it's done by
Code:
wc.hIconSm= LoadIcon (...)
while registering window class.. but how to achieve the same for dialog based application. I'm able to set title bar and exe icons by
Code:
SendMessage(hMain, WM_SETICON, (WPARAM)ICON_SMALL, (LPARAM)hIcon);
but what should I do for that icon ??