Sign in to follow this  

Getting transparent-background shell icons?

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

This topic is 4396 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this