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
while registering window class.. but how to achieve the same for dialog based application. I'm able to set title bar and exe icons byCode:wc.hIconSm= LoadIcon (...)
but what should I do for that icon ??Code:SendMessage(hMain, WM_SETICON, (WPARAM)ICON_SMALL, (LPARAM)hIcon);