PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Thumbnails & Listviews

Reply

Thumbnails & Listviews

 
Thread Tools Rate Thread
Old 18-06-2008, 07:53 PM   #1
P.J.M. Beker
Guest
 
Posts: n/a
Default Thumbnails & Listviews


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


  Reply With Quote
Old 19-06-2008, 09:32 AM   #2
Peter Morris
Guest
 
Posts: n/a
Default Re: Thumbnails & Listviews

Look at ListView.VirtualMode



--
Pete
=========================================
I use Enterprise Core Objects (Domain driven design)
http://www.capableobjects.com/
=========================================


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off