Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 147
  • Last Modified:

Moving bmps around the screen

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
0
amanuelx
Asked:
amanuelx
  • 2
  • 2
  • 2
  • +2
1 Solution
 
cantrellCommented:
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
0
 
amanuelxAuthor Commented:
My problem is a horrible screen flicker when i move pictures around the screen...
regards
0
 
cantrellCommented:
Does the entire screen flicker or just your bitmap? Are you using a image or picturebox control? How are you moving it?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
amanuelxAuthor 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
0
 
nilosCommented:
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
0
 
nilosCommented:
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
0
 
e_norrmanCommented:
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.
0
 
watyCommented:
Go to my website, you will find a complete ScreenSaver written in VB5, and there is a lot of bitmaps (sprites) moving on the screen. The full source code is provided :

http://www.geocities.com/ResearchTriangle/6311/ 

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now