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 / Introduction to Events


Priority of Events

Each type of event has a certain priority. The Event Manager returns events in this order of priority:

  1. activate events
  2. mouse-down, mouse-up, key-down, key-up, and disk-inserted events in FIFO (first-in, first-out) order
  3. auto-key events
  4. update events (in front-to-back order of windows)
  5. operating-system events (suspend, resume, mouse-moved)
  6. high-level events
  7. null events

Several of the Event Manager routines can be restricted to operate on one or more specific types of events. You do this by disabling (or "masking out") the events you are not interested in receiving. See "Setting the Event Mask" beginning on page 2-26 for details about specifying the types of events you wish to receive.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996