|
-
Mar 18th, 2004, 05:13 PM
#1
Thread Starter
Hyperactive Member
Erase image drawn with DrawImage()
Hi everyone,
This is what I use to draw in image (pion) in my Picturebox (holding map)
VB Code:
Dim gr As Graphics = pctBox.CreateGraphics
gr.DrawImage(New Bitmap("c:\pion.gif"), iX, iY)
But now I want when the pion moves erase his picture from the map and redraw it somewhere else... I get the redrawing part now I want to know how to erase it!
Anyone?
Thanks in advance,
Bloged
-
Mar 18th, 2004, 08:43 PM
#2
Addicted Member
Not sure I understand, but can you use:
then redraw the image somewhere else?
-
Mar 19th, 2004, 04:36 AM
#3
Thread Starter
Hyperactive Member
Thnx Hole-In-One,
It works... but flickers very badly! Anyone else ideas... if not this is the way to go
Grtz,
Bloged
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
|