Responding to the Mouse
Go Up to Rubber Banding Example
Your application can respond to the mouse actions: mouse-button down, mouse moved, and mouse-button up. It can also respond to a click (a complete press-and-release, all in one place) that can be generated by some kinds of keystrokes (such as pressing Enter in a modal dialog box).
This section describes:
- What's in a Mouse Event
- Responding to a Mouse-down Action
- Responding to a Mouse-up Action
- Responding to a Mouse Move