Im having a problem with listview when displaying images/thumbnails in it. The spacing between the images are to big, wich causes it to use more space then needed. Look at the attached picture to see moore clearly what i mean. Hopefully someone can give me a smack in the right direction. Been going crazy to solve this problem and i really want to get it out of the way.

Thanks for any suggestions,
Posted on 2004-11-07 08:30:25 by mojoo
There was never posted a reply to this post. Possibly because no one have run-into this problem before. So therefore i'll post the solution i found to work. It was so simple that I was kinda embarrased by the fact that i didnt read the documentation good enough. Anyways, here is the line of code you'll need to solve the problem. For a description you can look it up in MSDN.

inv   SendMessage, [g_hListView], LVM_SETICONSPACING, 0, 00XX00XXH
Posted on 2004-11-09 15:40:31 by mojoo