Jump to content
  • Advertisement
Sign in to follow this  
BeanDog

Getting transparent-background shell icons?

This topic is 4581 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

I'm using the example given at The Code Project for getting shell icons. As you see from the screenshot on that page, the icons are supposed to be smooth. Check out their sample executable on my computer. Woah! What's up with that? It's their sample program, just downloaded and compiled using Visual Studio 2003 Pro. Anyone else get the same results? And how do I fix it? My Windows Explorer certainly doesn't look like that, so there's got to be a good way to do this. ~BenDilts( void );

Share this post


Link to post
Share on other sites
Advertisement
Thanks for the tip on visual styles. It led me to some good Google searches resulting in this code:


// These two calls MUST be made before the
// .Run method to enable 32bit icons to be used.
Application.EnableVisualstyles();
Application.DoEvents();




~BenDilts( void );

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!