Legacy Documentclose button

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

Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice