Friday, March 4, 2011

how to display thumbnails in listview like explorer does?

could you please point c++ code example to display videos and images thumbnails in listview?

From stackoverflow
  • I can help with images, but not videos:

    http://www.codeproject.com/KB/GDI-plus/GdiPThumbnailsViewer.aspx

    Basically you use a normal list control and add the images to an associated image list. There are some gotchas though - looks like you have to use the CImageView::ReplaceImage instead of CImageView::AddImage, else the images don't appear correctly. Masking the image may also require some work.

    : very usefull link - thank you! - i have no points to vote for your answer - but the link is a greate example - i google a lot of time but can't find it!

0 comments:

Post a Comment