|
-
Jul 31st, 2001, 09:49 PM
#1
Thread Starter
PowerPoster
More than 1 icon in a program
^^^^^^^^^^^^^^^^^^^^^^^^^^^
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?
-
Jul 31st, 2001, 10:31 PM
#2
Hyperactive Member
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.
-
Jul 31st, 2001, 10:41 PM
#3
Thread Starter
PowerPoster
No it doesn't.
It just makes them available to the program itself, not to explorer.
-
Jul 31st, 2001, 11:07 PM
#4
Frenzied Member
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.
-
Aug 1st, 2001, 12:17 AM
#5
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.
-
Aug 1st, 2001, 01:13 AM
#6
Fanatic Member
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.
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.
Last edited by Kaverin; Aug 1st, 2001 at 01:18 AM.
I'm baaaack...
VB5 Professional Edition, VC++ 6
Using a 1 gHz Thunderbird, 256 mb RAM, 40 gb HD system with Win98se
I feel special because I finally figured out how to loop midis: Post link
I'm a fanatic too 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|