How to display thumbnails in a list like explorer?

Could you please provide some C ++ code example for displaying videos and images in a list?

+1


source to share


1 answer


I can help with images, but not videos:

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



Basically you use a regular list control and add images to the corresponding image list. There are some bugs: it looks like you have to use CImageView :: ReplaceImage instead of CImageView :: AddImage, otherwise the images won't display correctly. Masking the image can also take some work.

+3


source







All Articles