Archived

This topic is now archived and is closed to further replies.

DanielPharos

BitBlt source & destination

Recommended Posts

How do I use BitBlt in VB? I already found the code to declare it, but the source and destination are declared as LONGs, and a picture or bitmap isn''t a LONG. How do I tell BitBlt which pictures to use?

Share this post


Link to post
Share on other sites
I think that you cant use bitblt with image, you must use it with picturebox. The source and destination are HDC (handle device context). Use your picturebox name .hdc (picture.hdc) the same thing goes for the form (form.hdc). Try it and give me some news if it works. See ya!

Share this post


Link to post
Share on other sites