Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 2 - Event Manager / Event Manager Reference
Event Manager Routines / Reading the Mouse


GetMouse

You can use the GetMouse procedure to obtain the current mouse location.

PROCEDURE GetMouse (VAR mouseLoc: Point);
mouseLoc
Returns the current mouse location in local coordinates of the current graphics port (for example, the active window). Note that this value differs from the value of the where field of the event record, which specifies the mouse location in global coordinates.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996