I have the following code...
dim file as string
dim result as integer
file = "C:myFile.bmp"
Picture1.Picture = LoadPicture(file)
result = StretchBlt(Picture2.hdc, 0, 0, 150, 130, Picture1.hdc, 0, 0, 8055, 4095, SRCPAINT)
Picture2.Refresh
When I run the code, Picture2 displays a black box of the width and height specified...the image is not copied. Any help?
BTW, after the StretchBlt call, it returns True...so, that appears as working...
Thanks in advance
dim file as string
dim result as integer
file = "C:myFile.bmp"
Picture1.Picture = LoadPicture(file)
result = StretchBlt(Picture2.hdc, 0, 0, 150, 130, Picture1.hdc, 0, 0, 8055, 4095, SRCPAINT)
Picture2.Refresh
When I run the code, Picture2 displays a black box of the width and height specified...the image is not copied. Any help?
BTW, after the StretchBlt call, it returns True...so, that appears as working...
Thanks in advance