|
-
Nov 7th, 2005, 02:57 PM
#1
Thread Starter
Hyperactive Member
[VB6] BitBlt Not Inproving speed
I am using bitblt on moving images, and frequently updated images. Flickering has been the cause of the problem, and still exists. Any furthure bitblt info. i may be missing? Thanks,
___
Dan
-
Nov 7th, 2005, 04:11 PM
#2
PowerPoster
Re: [VB6] BitBlt Not Inproving speed
Use Picture1.AutoRedraw = True to avoid flickering. After all drawing you need to Call Picture1.Refresh to show your work.
For more details see the several BitBlt / Tile engine tutorials on http://fox.yhoko.com
-
Nov 7th, 2005, 08:13 PM
#3
Fanatic Member
Re: [VB6] BitBlt Not Inproving speed
Also, another method for avoiding flickering is to use a backbuffer and then blitting the whole thing onto your (presumably) picturebox at once. With this on, you can turn the autoredraw off. I've heard this helps speed, but I could be totally and absolutely wrong on that. The only disadvantage is that if you're not constantly blitting you'll lose data when your picturebox isn't being shown.
-
Nov 8th, 2005, 12:38 AM
#4
PowerPoster
Re: [VB6] BitBlt Not Inproving speed
Yes, that's faster, but you need a bunch of API knowledge to create the backbuffer and since he's asking basic questions... however, backbuffering is explained somewhere on my page, too
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
|