Results 1 to 4 of 4

Thread: Fast BitBlt?

  1. #1

    Thread Starter
    Fanatic Member Mad Compie's Avatar
    Join Date
    Aug 2000
    Location
    Kuurne (Belgium)
    Posts
    553

    Fast BitBlt?

    Which one should be faster:

    1) Loading several PictureBoxes and setting their Picture property to the Picture property from exisiting Image controls (invisible) on the same Form.

    OR

    2) Loading several PictureBoxes and setting their Picture property by using BitBlt with bitmap files included in a DLL file (using LoadBitmap)

    I don't know. Do you?

  2. #2
    Megatron
    Guest
    Number 1 would be slightly faster.

  3. #3
    Megatron
    Guest
    I just looked at number 2 again, and I'd like to back up my answer. In order to BitBlt, you need to have a DC. With the time it takes to create the DC, select the bitmap etc, either option1 will be the same, or slightly faster than option 2.

  4. #4
    Megatron
    Guest
    That's correct. Personally, I favour speed over size. Since today's HD's are roughly 20-60 GB, an extra MB or so won't hurt.

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