|
-
Aug 9th, 2000, 06:09 AM
#1
I know that the Image control is the only (except for the Label) control that is not a wrapper of Windows own controls.
I.e VB draws the picture directly on the form so it doesn't have it's own window (therefor the lack of a hWnd).
But how does VB stretch the picture when you set the Stretch property to True?
I have always assumed that it uses the StretchBlt function but when I use StretchBlt to draw a picture to a PictureBox at aprox. 1/8 of the original size the image (that is mostly green) gets mostly black. But when I load the same picture to an Image control and size it to the same size you can see all the original colours.
So the question is if VB doesn't use StretchBlt to stretch the image what does it use?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|