473,320 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Question about Images

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
Nov 16 '05 #1
1 1062
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


"Tony" <to**@askme.com> wrote in message
news:u0**************@TK2MSFTNGP10.phx.gbl...
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

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Al Davis | last post by:
Note: I tried cross-posting this message to several newsgoups, including comp.lang.perl.misc, c.l.p.moderated, comp.infosystems.www.authoring.cgi, comp.lang.javascript and comp.lang.php. Nothing...
4
by: Ben | last post by:
This is probably a very simple question (I hope), but my usually great web searching abilities have not turned up the answer I am looking for. I have a php page that includes a file for example...
1
by: Russell Silva | last post by:
I have a program set up something like this: class A { //(...) } class B : public A { //(...) public: void not_in_class_A();
5
by: Brian Angliss | last post by:
I'm relatively new to scripting in JavaScript, so I'm not too surprised I'm having difficulty scripting up an animation effect for my personal site. What I'm trying to do is the following: When...
4
by: seven | last post by:
This might be a newbie question or otherwise easy stuff for some of you, but it's tweaking me ... can't seem to get it to work right. I am working with a script that basically creates two arrays,...
1
by: Aaron | last post by:
I'm trying to do my site without table unless absolutely necessary, and I've run into a problem I'm not sure how to get around. I have a div with float:right that contains some images (the outer...
35
by: Stan Sainte-Rose | last post by:
Hi, What is the better way to save image into a database ? Just save the path into a field or save the image itself ? I have 20 000 images (~ 10/12 Ko per image ) to save. Stan
15
by: Prophet | last post by:
I am using the following for a different picture to show up every day.... <script language="JavaScript"> <!-- function adspic() { var mydate=new Date() var day=mydate.getDay() var...
21
by: DP | last post by:
Hi, I'm not sure if this is the right group to ask. I am developing a small image library and I don't know how to hide the actual path to the image. So I go to the stock photo library websites...
5
by: Computer Guy | last post by:
I know this is not actually a PHP question, but I figured this would be the place to go to get a good answer. I have a website for the neighborhood I live in and people's main concern is security....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.