|
-
May 18th, 2001, 02:08 PM
#1
Thread Starter
Fanatic Member
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?
-
May 18th, 2001, 02:22 PM
#2
Number 1 would be slightly faster.
-
May 18th, 2001, 02:26 PM
#3
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.
-
May 22nd, 2001, 03:07 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|