Reading the Mouse
The Event Manager provides routines you can use to get information about the mouse. You can get the current mouse location using theGetMouseprocedure. You can use
theButtonfunction to determine whether the user pressed the mouse button. After receiving a mouse-down event, you can use theStillDownfunction to determine whether the mouse button is still down, and you can useWaitMouseUpto determine if the user subsequently released the mouse.
Subtopics
- GetMouse
- Button
- StillDown
- WaitMouseUp
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help