Icons in WinForms
c#, visual-studio, winforms
Solution
Import the different sized images into Gimp as layers. Make sure the larger icon is the top layer. Then you can export as .ICO and Gimp will make one file containing multiple icons.
Problem
I created an icon with two different image sizes in it: - one 16x16 with 24bpp - one 32x32 with 24bpp using the icon editor in Visual Studio. I had hoped that when used by a form (the Form's Icon-propery) I would see the 16x16 version in its upper left corner and the 32x32 version on the task bar. Unfortunately, the 16x16 version is used in the task bar as well. So my question is simply: how can I persuade Windows to make a "better" choice between the differnt sizes in my icon file?