Results 1 to 3 of 3

Thread: Animation using image control in VB

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Location
    Posts
    124
    I have used the image control on a form to perform some animation light tower, which I have drawn 8 images to make it turns. In code, I used the timer to make it animated, but the graphics does not look good at all as using timer, it blinks evry now and then. Any idea make it blinks goes away ?

  2. #2
    Guest
    First, try it with picturebox. If it still blinks, then it may be the image format. Best format to use is bmp, even if it may take a lot of space.

    You could also try GetTickCount and other API functions, or set screen refreshing off before you change switch to next frame in timer, and restoring it after changing. I don't know how to do this, though.

    Hope this helps,

  3. #3
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

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