Question about Images

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

Hi all,

My problem is, I have created a form with a background Image assigned to it.
On top of it, I have an instance which is a subclass of PictureBox. I
overrided the PictureBox OnMouseMove method so that it moves along with the
mouse movement. Though there is no problem when moving the PictureBox, as
the PictureBox moves, the form's background Image doesn't update the area
under the PictureBox, there are still some images remain on the screen after
the PictureBox change its location. Can anyone tell me how to solve this
problem?

Thanks in advance.

Tony
 
Someone answered this over in the drawing forum. Please don't multi-post so
much.

--
Bob Powell [MVP]
Visual C#, System.Drawing

The Image Transition Library wraps up and LED style instrumentation is
available in the June of Well Formed for C# or VB programmers
http://www.bobpowell.net/currentissue.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm

The GDI+ FAQ RSS feed: http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS: http://www.bobpowell.net/tipstricks.xml
Bob's Blog: http://bobpowelldotnet.blogspot.com/atom.xml
 
Back
Top