Results 1 to 4 of 4

Thread: [VB6] BitBlt Not Inproving speed

  1. #1

    Thread Starter
    Hyperactive Member MeTTa@'s Avatar
    Join Date
    Aug 2005
    Posts
    312

    [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

  2. #2
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    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

  3. #3
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    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.

  4. #4
    PowerPoster Fox's Avatar
    Join Date
    Jan 2000
    Location
    *afk*
    Posts
    2,088

    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
  •  



Click Here to Expand Forum to Full Width