Results 1 to 15 of 15

Thread: [VB6] - 1 thot

Threaded View

  1. #14
    PowerPoster
    Join Date
    Aug 2011
    Location
    B.C., Canada
    Posts
    2,887

    Re: [VB6] - 1 thot

    Even with BitBlt it will cause flicker! I have done this before, the only way would be using some like DirectX. There is a way to make it with BitBlt without any flickering (I think). You will have to load the images to another picturebox (invisible or offscreen) and replace it with that one, what I mean is that you need to preload the image to another picturebox to remove the flickering which is caused by masking images (when you place a masked image, then the transparent picture on top). If you only paint on a picturebox over and over with BitBlt, it will cause the flickering once in a while!

    I might be wrong on this but I have tried this in the past without success (using BitBtl and one picturebox).
    If anyone has a example without any kind of flicker I would also like to use it on some of my projects!

    Edit:
    Ok I have found an old project, might not be the best. Might need some improvement. I did not fix anything I just zipped it and attached it, now it's up to you to see if BitBlt works .
    Hopefully you find out why in my project it still had the flickering! I know I should not have put Timer Interval = 1 but that way its as fast as it can go.
    Attached Files Attached Files
    Last edited by Max187Boucher; Mar 17th, 2013 at 07:49 PM.

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