Write a program where when a mouse is dragged in client area while pressing left mouse button, points are stored and when button is released, a polygon is drawn joining all these points.
Answers
Answered by
0
The mouse is an important, but optional, user-input device for applications. A well-written application should include a mouse interface, but it should not depend solely on the mouse for acquiring user input. The application should provide full keyboard support as well.
An application receives mouse input in the form of messages that are sent or posted to its windows.
Similar questions