Thumbnails & Listviews

  • Thread starter Thread starter P.J.M. Beker
  • Start date Start date
P

P.J.M. Beker

Hi there,

I'm currently developing a program to manage my image collection. The main
form contains a llistview in which the location and filenames of these
images are displayed.

When switching the listview to Tile mode, I want to display the thumbnails
of these images. My image collection contains over 4.000 images so it
doesn't make any sense to populate the needed imagelist with over 4.000
thumbnails.

It makes more sense to populate the imagelist with thumbnails of the images
which are currently visible in the listview, but how can determine which
images (listviewitems) are currently visible in the listview? Further more;
how can determine changes in the visibility (after scrolling or browsing)?

It should be possible, because I think that Windows Explorer (in tile mode)
uses a same sort of technique, but I can't figure it out myself.

Can anybody help me out?

Thnx

Peter
 
Back
Top