About 13 results (0.0008 seconds)

Write a simple windows program that draws lines using rubber band technique. The mouse is…

Write a simple windows program that draws lines using rubber band technique. The mouse is dragged with left button down and for every movement of mouse the corresponding line from the start point(where the left button was pressed ) to current positions are drawn and immediately replaced by new line when the mouse is moved. When the button is released the final line is displaced. The right button can be used for erasing the client area. Extend the program to include capturing of the mouse.