Re: Picturebox & StretchBlt



I've got this code:
<snip>
The code should load a picture in original size in the pbxPicture and a thumbnail copy in the pbxThumb(0). The
pbxPicture works fine, but the thumbnail picturebox remains empty.

What does StretchBlt() return?
If your pbxThumb() control array has the AutoRedraw property set, are you calling its Refresh method?
If you don't need to display the thumbnail in its own picture box, then using a GDI Bitmap here would be more efficient.
Hope this helps,

Mike


- Microsoft Visual Basic MVP -
E-Mail: EDais@xxxxxxxx
WWW: Http://EDais.mvps.org/


.