issamtaher
asked on
save my own picture in file
hi
as you know we can use BitBlt function to get capture from Dc to other Dc.
how i can save the new image whitch i capture it , to the file.
for examp:
Myret=bitblt(picture1.hdc, 0,0,100,10 0,getdc(0) ,0,0,DropF lag)
when i write
SavePicture Picture1.Picture, "c:\mypic.bmp"
compiler say
thier is no picture
as you know we can use BitBlt function to get capture from Dc to other Dc.
how i can save the new image whitch i capture it , to the file.
for examp:
Myret=bitblt(picture1.hdc,
when i write
SavePicture Picture1.Picture, "c:\mypic.bmp"
compiler say
thier is no picture
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The AutoRedraw is the important thing here. It creates a persistent memory bitmap (necessary for valid picture object) when drawing operations are performed on the DC.
ASKER
thank you for heilping me
yours issam taher
yours issam taher
You're welcome