Problem adding icons to imagelist

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
 
M

Miro

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.
 

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

Top