I think that I must be missing something basic about how Windows displays icons. My large 32x32 icon looks good but when Windows displays it as a 16x16 icon (as in the taskbar), it looks crappy because every other row of pixels is removed. I tried inserting a 16x16 icon as a New Device Image in the icon editor, but Windows did not want to display that icon. I thought that the code:
SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
would set the icons such that the 32x32 icon would get displayed for cases that call for 32x32 icons and the 16x16 icon would get displayed for cases that call for a 16x16 icon. Obviously, this assumption is wrong.
How can I get Windows to display a nice 32x32 icon (such as in the desktop) and a nice 16x16 icon (such as in the taskbar)?
Start Free Trial