Results 1 to 4 of 4

Thread: BitBlt() Question

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Location
    Michigan
    Posts
    4

    Question BitBlt() Question

    Okay, what makes BitBlt() so special when you have two picture boxes - one for a black background and another with a picture in it, and you want to put the picture onto the black background?

    Couldn't you just use the background picture as a container to hold the picture instead of using BitBlt()?

    What I mean is that I have a picture of a dragon hovering on a black, stary background with quite a bit of code using BitBlt, when all I really need to do is just pop the picture onto the background and have much fewer lines of code to make it hover.

    Can someone please tell me what is so special about BitBlt() that would make it so prefered over just doing something with even few lines of code? Seems kind of inefficient...

  2. #2
    jim mcnamara
    Guest
    BitBlt is very versatile - plus your code will obscure the original image in the pic box. What if you have a pink backgound, then you wanna move something over from a black background?

  3. #3
    sql_lall
    Guest

    Also...

    Also what you can do with Bitblt is use masks (i.e. you can transfer different shape pictures, not just rectangles), you can move part of a picture, and one of the best things is that you can copy what's on the screen, and play around with it
    Also, if you make your own function in a module, which uses Bitblt in the moct common way you are going to use it in your program, the coding decreases immensly.

  4. #4
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    has anyone mentioned that bitblt is pretty fast?
    Sanity is a full time job

    Puh das war harter Stoff!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width