|
-
Oct 1st, 2000, 02:37 PM
#1
Thread Starter
Fanatic Member
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
-
Oct 1st, 2000, 04:43 PM
#2
Addicted Member
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.
-
Oct 3rd, 2000, 02:49 PM
#3
Thread Starter
Fanatic Member
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
#4
Code:
'Draw Picture1 on the Form
Me.PaintPicture Picture1.Picture, 0, 0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|