Hello, I would like do a mini mspaint like application.
I have a main menu to open and close a image.
I have a toppanel to create a palettepanel
I have a statusbar to put information
I have a tpicture on alclient to show the image.
I have a tool to paint pixel by pixel.
But now I need several tools more.
I would like start to painting a line. I like that the application do the next.
when i select "line tool" the first point that i select with the mouse will be the first point of my line, this is easy, but now i want paint a line between the selected point and the mouse current point until you press the mouse button again. And this is that i dont know how to do.
Anybody know how do it?
Thanks.