ListView and Thumbnail Sizes

D

Duracel

Hi (this is a rephrase of my question from yesterday!),


How can I set the size of the thumbnails of a listview in thumbnail mode?
I'm owner drawing images from my own cache (i.e. they aren't stored in
LargeImageList) but the only way I can see to tell the listview how large I
want each thumb to be is by setting the ImageSize property of
LargeImageList. Unfortunately, the maximum size for an image in this case
is 256 x 256 pixels, but I want to go up as high as 1024 x 1024. I thought
tilemode might be useful, but it doesn't work in VirtualMode. Then I
thought about subclassing ImageList to override size, but this class is
sealed, so I can't. I seem to be thwarted at every turn.....

Any ideas? As an alternative, are there any 3rd party controls around that
allow arbitrary thumbnail sizes, but still provide all the nice features of
the .NET list view, like virtual mode, thumbnail view, column view etc. ?



Thanks
 
D

Duracel

Just in case anyone is interested, this is apparently a hard limitation of
the Windows.Forms ListView, but not of the vanilla Win32 list view (I
assumed the former was just wrapping the latter).

So, I will be using the ActiveX/COM Common Control version instead.
 

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