PDA

Click to See Complete Forum and Search --> : Why, Ahh, Why!?!


Arie
Oct 1st, 2000, 02:37 PM
Hi!!!
I wanna know something that really bugs me:
Why in VB there are these flashes of animation.
It happens when I switch pictures fast. Why?
Is there a way to fix it? If someone know how
please tell me...

Thank you,
Arie.

Visit: http://www.nip.to/camel2000

Arcom
Oct 1st, 2000, 04:43 PM
You have to draw pictures directly on the Form or PictureBox with the PaintPicture method. Or, even better, use the BitBlt API function.

Here's an example:


object.AutoRedraw = True

<do some paintings here>
<either PaintPicture or BitBlt>

object.Refresh


That should solve your problems.

Arie
Oct 3rd, 2000, 02:49 PM
What is the PaintPicture thing?
Can you write an example for it?

Thank you,
Arie.

Visit: http://www.nip.to/camel2000

Oct 3rd, 2000, 02:59 PM
'Draw Picture1 on the Form
Me.PaintPicture Picture1.Picture, 0, 0