Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

weasalmongler

Icons In Visual C++ 6

This topic is 5486 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey all, This is probably quite a trivial question, but does anybody know how to compile an exe with an icon that has a greater colour bit depth than 8 bits, because it seems like MSVC++6.0 only supports 4 and 8 bit bitmaps. Any help you guys could give me would be much appriciated, thanks. EDIT : Oh yeah, and the same thing applies for toolbar button pictures, I need them to have a higher colour depth as well. - James [edited by - weasalmongler on November 30, 2003 4:26:10 PM]

Share this post


Link to post
Share on other sites
Advertisement
I have already created the bmp/jpg image files, I cant import them in though because they need to be .ico files, can these be generated by other programs? If so does anybody know any good ones?

Thanks.

- James

Share this post


Link to post
Share on other sites
I use irfanview, it can save it as .ico files and lots of others, you can download it at http://www.tucows.com/preview/194967.html

Share this post


Link to post
Share on other sites
Thanks! Thats done the job for the icon stuff!

One more thing though, if I want to go about importing an image for a toolbar button, how do I get it in and onto the button?

Thanks for more of your time.

- James

Share this post


Link to post
Share on other sites
First go to the Insert menu, Resource(simpler way is to just press ctrl + R) select Toolbar, then paste the picture onto the blank icon that pops up

Share this post


Link to post
Share on other sites
Yeah, I just read that back and I missed a key word from that sentance, sorry. How do I import 16 bit images and place them on the buttons in the toolbar? I knew how to paste stuff onto buttons, its just if you paste directly on to the button it seems to compile in 8 bit colour and it looks horrible. There must be a way of doing this, can anybody help?

Thanks.

- James

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Use CreateWindowEx and you have the field for the tool bar.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!