Transparent, please!

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

Xavier Valdés

Hi all again,

I've written three times in this "managed" newsgroup but no post at 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
 
Back
Top