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


Button

You can use the Button function to determine whether the user pressed the
mouse button.

FUNCTION Button: Boolean;
DESCRIPTION
The Button function looks in the Operating System event queue for a mouse-down event. If it finds one, the Button function returns TRUE; otherwise, it returns FALSE. To determine whether the mouse button is still down after a mouse-down event, use the StillDown function.

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