- Inside Macintosh: Macintosh Toolbox Essentials /
- Chapter 2 - Event Manager / Event Manager Reference
- Event Manager Routines
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 the GetMouse procedure. You can use
the Button function to determine whether the user pressed the mouse button. After receiving a mouse-down event, you can use the StillDown function to determine whether the mouse button is still down, and you can use WaitMouseUp to determine if the user subsequently released the mouse.
Subtopics
- GetMouse
-
- Button
-
- StillDown
-
- WaitMouseUp
-
© Apple Computer, Inc.
11 JUL 1996