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


WaitMouseUp

After receiving a mouse-down event, you can use the WaitMouseUp function to determine if the user subsequently released the mouse.

FUNCTION WaitMouseUp: Boolean;
DESCRIPTION
The WaitMouseUp function looks in the Operating System event queue for a mouse-up event. If it finds one, the WaitMouseUp function removes the mouse-up event from the queue and returns TRUE. If it does not find any mouse events pending in the Operating System event queue, the WaitMouseUp function returns FALSE.

SEE ALSO
See "The Event Queue" on page 2-83 for information about the Operating System
event queue.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996