We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Moving bmps around the screen

amanuelx
amanuelx asked
on
Medium Priority
161 Views
Last Modified: 2010-04-30
Hello
When i move a bmp around the screen, this bmp dont move fine... a rare effect appear... anyone can tell me how to eliminate this effect?
thanks and regards
Comment
Watch Question

Commented:
I'm not quite sure what you mean by a "rare effect?" If you can tell me what the "rare effect" is maybe I can help. In the meantime, make sure you are using the bmpname.move command. If not, try that. It's: bmpname.move left, top, width, height.

Cantrell

Author

Commented:
My problem is a horrible screen flicker when i move pictures around the screen...
regards

Commented:
Does the entire screen flicker or just your bitmap? Are you using a image or picturebox control? How are you moving it?

Author

Commented:
hello
It's only the image and we use the move statement.
But, how to eliminate the flicker in all cases?
thanks and regards

Commented:
Please add the following variables:

a) BMP color deep (How many colors)
b) Screen color deep
c) Type of VGA card, OS type and CPU speed

TIA

Commented:
Please add the following variables:

a) BMP color deep (How many colors)
b) Screen color deep
c) Type of VGA card, OS type and CPU speed

TIA
use the bitblt funktion , and copy the bmp into a new picture box,erase the old and then copy again to new place , this is use to move sprites , hmmm your question is a little short..
search on sprites and vb on the internet and you maybe find a exemple on bitblt.
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.