Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bitblt function

Status
Not open for further replies.

Denster

Programmer
Apr 9, 2001
198
GB
Just discovered the bitblt function to merge to images together. However, dont know enough about it so I'm struggling to get it to do what I want. The final Image needs to be able to zoom in and out. To do this I've been using the image box with the stretch property set to true. From what I gather you can only use the bitblt function with Picture boxes, which doesnt have a stretch property. I thought the answer would be to have two picture boxes, one source and the other destination. Then one image box to copy from the destination with the merged image. If I try this the only thing that appears in the image box is the original image from destination picture box with no merging.
Thanks in advance for any help on the matter.
 
You may like to look up (in VB Help) the PaintPicture method which is built in to VB6 and its opcode argument.

OTTOMH I expect the BitBlt API also supplies a similar opcode argument.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top