Transparent?

  • Thread starter Thread starter Xavier Valdés
  • Start date Start date
X

Xavier Valdés

Hi all,

I'm trying to see files from listview control so I'm adapting VBResourcekit
sample "Windows Forms - Create an Explorer Style Application"
with different icons capabilities. For doing that, I'm filling and imagelist
every time I want to showfiles().
In this function, I'm using api's SHGetFileInfo (is the only way of doing
that?) so as to get every icon of every kind of file. I've read it in
the following sample:
http://www.codeguru.com/vb/gen/vb_misc/icons/article.php/c5597

Well, the problem is I see icon's transparency in black and it's too ugly
for my application. I've tried to force like this:

img.TransparentColor = System.Drawing.Color.Transparent
But I didn't got the expected result... I need help!!!

Thank your very much,

Xavier
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top