Re: Picturebox & StretchBlt
- From: "Mike D Sutton" <EDais@xxxxxxxx>
- Date: Thu, 11 Jan 2007 16:15:19 -0000
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/
.
- Follow-Ups:
- Re: Picturebox & StretchBlt
- From: Ivan Debono
- Re: Picturebox & StretchBlt
- References:
- Picturebox & StretchBlt
- From: Ivan Debono
- Picturebox & StretchBlt
- Prev by Date: Picturebox & StretchBlt
- Next by Date: Re: Picturebox & StretchBlt
- Previous by thread: Picturebox & StretchBlt
- Next by thread: Re: Picturebox & StretchBlt
- Index(es):