PDA

Click to See Complete Forum and Search --> : Showing Pictures as Thumbnails


skranga
May 15th, 2002, 11:24 AM
Dear List,
I would like to show the pictures in a directory as thumbnails. Something similar to how we see the mypictures directory in mydocuments folder. All my pictures are in different formats jpeg, gif, bmp etc. The user should be able to click the thumbnail to see the actual picture. Any pointers will be greatly appreciated.
Suresh

ChiefRB
May 15th, 2002, 12:19 PM
Load the picture full size into a hidden picturebox, then use the StretchBlt API function to shrink the picture to another picturebox.
Look up StretchBlt on www.allapi.net