rustyfancy Posted March 30, 2004 Posted March 30, 2004 Hi All. I have a pictureBox that I need to draw ON TOP of. I'd like to be able to draw a tiny square wherever the user clicks on top of my picture box. I've got a mouse handler for the form and have converted the screenPoint to the formPoint successfully. This tiny square drawing works everywhere but on top of the picture box. Please help. --Matt Quote
AlexCode Posted March 30, 2004 Posted March 30, 2004 how are you drawing the "tiny square" ? Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
Dill Posted February 9, 2005 Posted February 9, 2005 you could override the textbox OnPaint event and paint the box in there Quote
coldfusion244 Posted February 9, 2005 Posted February 9, 2005 you could override the textbox OnPaint event and paint the box in there Basically like Dill said override the OnPaint event, then invalidate it to remove the last square then draw the square. Quote -Sean
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.