How to Make VB.net Listview Show Icon Smooth.

before i figured it out, my listview displayed icons that do not have upper edge or have some black pixels in it. i mean they were not smooth.. examples are shown below-ScreenShot_20170104222722.png

do you notice the black pixels around icons ? well, that is a common problem among newbie programmers. they dont know what it is called. so they dont even search it on google.

So i figured out that this problem is bit Depth problem. in the imageList associated with you listview, has set property bit depth = 8.

lets change it to 32-

Untitled.png

and see effect –

ScreenShot_20170104224009.png

Voila!!  and you will be like – “that what i wanted!!. thanx a lot bro.”

Advertisements