How do I set window titlebar icon and alt-tab icon in SDL2 / C++ / Visual Studio 2012 express program?
问题 I have added a .rc file to my project with just the following: IDI_MAIN_ICON ICON "..\\..\\icon_artwork\\windows_icons\\project.ico" The .ico file contains icons at 16x16, 32x32, 48x48 and 256x256 resolutions. I see the icon in the taskbar and explorer (so there is no doubt the .ico is successfully embedded in the .exe), but I see the default Windows 7 application icon in the application's own title bar, and in alt-tab. Is there a way to get the OS to see the embedded icon by itself in all