![]() |
EvQEl |
Header: Events.h |
struct EvQEl { QElemPtr qLink; SInt16 qType; EventKind evtQWhat; UInt32 evtQMessage; UInt32 evtQWhen; Point evtQWhere; EventModifiers evtQModifiers; }; typedef EvQEl EvQElPtr;
Next queue entry
Queue type (evType)
Event code
Event message
Ticks since startup
Mouse location
Modifier flags
A structure of type EvQEl defines an entry in the Operating System event queue. Each entry in the event queue begins with 4 bytes of flags followed by a pointer to the next queue entry. The flags are maintained by and internal to the Operating System Event Manager. The queue entries are linked by pointers, and the first field of the EvQEl data type, which represents the structure of a queue entry, begins with a pointer to the next queue entry. Thus, you cannot directly access the flags using the EvQEl data type.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)