Re: Picturebox & StretchBlt
- From: "Ivan Debono" <ivanmdeb@xxxxxxxxxxx>
- Date: Thu, 11 Jan 2007 17:26:28 +0100
"Mike D Sutton" <EDais@xxxxxxxx> schrieb im Newsbeitrag
news:OKygzuZNHHA.536@xxxxxxxxxxxxxxxxxxxxxxx
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
It returns 1
No. AutoRedraw is set to false.
Maybe a bmp would be easier. Can I create multiple bmp's for the same dc?
Ivan
.
- Follow-Ups:
- Re: Picturebox & StretchBlt
- From: Mike D Sutton
- Re: Picturebox & StretchBlt
- References:
- Picturebox & StretchBlt
- From: Ivan Debono
- Re: Picturebox & StretchBlt
- From: Mike D Sutton
- Picturebox & StretchBlt
- Prev by Date: Re: Picturebox & StretchBlt
- Next by Date: Re: Picturebox & StretchBlt
- Previous by thread: Re: Picturebox & StretchBlt
- Next by thread: Re: Picturebox & StretchBlt
- Index(es):
Loading