listview sizing

T

Tom L

Using the largeicon view style in listview control, is there a way you can
change the spacing? I want to use the control for displaying addresses,
this way it can be changed between column mode and the icon type mode I can
display a graphic and the address.

thx
 
H

Herfried K. Wagner [MVP]

* "Tom L said:
Using the largeicon view style in listview control, is there a way you can
change the spacing? I want to use the control for displaying addresses,
this way it can be changed between column mode and the icon type mode I can
display a graphic and the address.

PInvoke on 'SendMessage' + 'LVM_SETICONSPACING' (untested).
 
T

Tom L

Thanks for the info Herfried...

Can you or anyone offer some friendly vb code to do this? I did some
reading, but not quite grasping how to implement this way.
 

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