Problem adding icons to imagelist

  • Thread starter Thread starter Manfred
  • Start date Start date
M

Manfred

Hello

I added some icons to an imagelist. I checked first the image size and
image depth and adjusted the settings according in the imagelist before
adding the icon. The icon still gets distorted when I use it in the
application (Treeview).

What could cause the distortion of the icon. Did I miss some settings.
(I'm new to VB.Net)


Regards

Manfred
 
Try to see what happens when you display the image in a picturebox /
imagebox.
I had something simillar happen ( with image boxes ), and found out that
every image had to be the same size ( example 32 x 32 ) in the same
imagelist.
That fixed it for me.

I know that vb 2003 doesnt like png files that much either. Not sure if
thats what your trying. But thats more with color rather than distortion.

Sorry, New to vb.net still so thats the best I can help you there with that
one.

M.
 
Back
Top