Screen flicker in Visual Basic 6

Discussion in 'OT Technology' started by Fifafever, Sep 14, 2006.

  1. Fifafever

    Fifafever OT Supporter

    Joined:
    Jul 22, 2006
    Messages:
    5,606
    Likes Received:
    14
    Location:
    San Diego, Canada
    Whenever I try to create a program that involves shapes moving according to a timer I always get that ugly screen flicker when I run the program. I remember doing something to stop it like a year ago but I've forgotten what it was exactly, and I can't find that project. Thanks.
     
  2. mobbarley

    mobbarley Active Member

    Joined:
    Mar 4, 2005
    Messages:
    9,256
    Likes Received:
    2
    Location:
    Sydney
    Look up AutoRedraw.
     
  3. StevesVR4

    StevesVR4 Get Arrested

    Joined:
    Jul 1, 2003
    Messages:
    7,328
    Likes Received:
    0
    Double buffering is what you need. Look it up and use it.
     
  4. Fifafever

    Fifafever OT Supporter

    Joined:
    Jul 22, 2006
    Messages:
    5,606
    Likes Received:
    14
    Location:
    San Diego, Canada
    Thanks, I'll try both solutions.
     

Share This Page