|
-
May 1st, 2001, 03:31 PM
#1
Flickering
My VB project has an Image control in it with several shape objects placed in front of it. During the Image's MouseMove Event (left mouse button down) I have the Image control and the shape objects move with the mouse. I use the move method to move the objects and the shapes. My problem is that when I move the Image and the shapes, these items flicker horribly.
Does anyone have any suggestions for minimizing the flicker. Ideally, I would like to completely eliminate the flicker, but I realize this may not be possible in VB.
Thanks in advance.
-
May 1st, 2001, 07:47 PM
#2
Re: Flickering
you might consider using another control, e.g. shape to represent the image when it's being moved like what windows do when u move a window, windows didn't move the actual window, but using a rectangular to represent it.
HTH
cksiow
http://vblib.virtualave.net - share our codes
-
May 1st, 2001, 08:31 PM
#3
Re: Flickering
The lightweight controls, the imagebox and the label cause much flicker. Using a picturebox instead of the imagebox should reduce the flicker. If you draw the shapes on the picturebox, using the picturebox's methods, instead of using shape controls, you'll experience much less flicker.
-
July 9th, 2003, 05:20 PM
#4
You might try setting your object.visible = False then when you are done drawing it set it to true again
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
|