Drawing problem

J

James Dean

I would like to know how to be able to see my line being drawn while i
am drawing inside Mousemove.......i only want to see the line or shape i
am trying to draw on screen not all these other lines i see as i move
my mouse
 
M

Morten Wennevik

Hi james,

I'm not sure what other lines you see.

If you mean you want to draw a single line that moves around with your
mouse until you release a button you need to clear the old line before
drawing a new one. Once any line is drawn to the window it stays there
until something covers (part of) the window causing the window to repaint
itself or you call Invalidate().

Maybe you could explain in more detail what you are trying to accomplish?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top