Icon...

Started by
4 comments, last by The C modest god 21 years, 4 months ago
I have a simple question. how do you change a program''s icon to an other icon file? Waiting for reply. Thanks in advance.
It's all about the wheel.Never blindly trust technoligy.I love my internal organs.Real men don't shower.Quote:Original post by Toolmaker Quote:Original post by The C modest godHow is my improoved signature?It sucks, just like you.
Advertisement
Right click -> Properties -> Change Icon

or did you mean that you coded something and want it to have a certain icon. Then you need to include whatever icon you want as a resource in your project before compiling.

In VC++
Include -> Resource -> Icon
Then draw whatever you want and remember to put
LoadIcon(hInstance, MAKEINTRESOURCE(MY_ICON_ID))
In your windows class

------------------------------
p.s. excuse me english. im from L.A.
To complement DrunkenBastard, the app icon should be the **first** icon listed in your ressource file.

----
David Sporn AKA Sporniket
To complement DrunkenBastard, the app icon should be the **first** icon listed in your ressource file.

----
David Sporn AKA Sporniket
Thanks a lot for your help! you bastered... just kidding, thanks.
It's all about the wheel.Never blindly trust technoligy.I love my internal organs.Real men don't shower.Quote:Original post by Toolmaker Quote:Original post by The C modest godHow is my improoved signature?It sucks, just like you.
Thats super, but how do you change it in the title bar??

It says in a few booksk that the IconSm property is used for the task bar AND the title but, but I only get it to show up in the task bar, while the title bar icon remains the same. This is strange becuase they are loaded in the same place and use the same resource


"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I''m reaching up and reaching out. I''m reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one''s been. We''ll ride the spiral to the end and may just go where no one''s been." - Maynard James Keenan Name: TheBlackJester
Team: Wildfire Studios

Projects
O A.D.
The Last Alliance

"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I'm reaching up and reaching out. I'm reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one's been. We'll ride the spiral to the end and may just go where no one's been." - Maynard James Keenan Name: [email=darkswordtbj@hotmail.com]TheBlackJester[/email]Team: Wildfire Games
Projects O A.D.The Last Alliance

This topic is closed to new replies.

Advertisement