^^^^^^^^^^^^^^^^^^^^^^^^^^^
How do I get more than 1 icon in an exe, so the user can have 1 icon for the exe, and 1 for an associated document?
Printable View
^^^^^^^^^^^^^^^^^^^^^^^^^^^
How do I get more than 1 icon in an exe, so the user can have 1 icon for the exe, and 1 for an associated document?
If you use a Resource file in your .Exe, all the icons you place in it will be visible to the user when he selects "Change Icon" from the properties window for the file.
No it doesn't.
It just makes them available to the program itself, not to explorer.
I don't have an answer just another question. How would one use 2 different size(16x16, 32x32) icons for the exe. The 16x16 icon would be used in the caption, and the 32x32 icon would be used for a shortcut icon. I've seen this done in other progs....can't figure out how it's done.
As for Bloodeye's question I made an Icon file with difference sizes in it (32x32x256,16x16x256) and made it the main form icon in my app and that worked. The app form had the 16x16 and the shortcut had 32x32. I used C++ to make the icon.
eiSecure, I placed some icons into a res file and added it to a dummy project, and compiled it, and when I make a shortcut to the exe, I can select the other icons through explorer. I don't know what you may have done, unless you're just saying no without checking it out yourself. I did notice it doesn't seem to like anything other than 16 color icons though, as my 256 color ones that I tested were screwed up. They turned out as a gray toned mess that looked grainy.:eek:
Bloodeye and Edneeis, I'm sure you've seen this anyway, but if you don't give it a 16x16 icon, the system makes one from the 32x32 one that it has already.