Carbon


EvQEl

Header: Events.h

struct EvQEl {
    QElemPtr qLink; 
    SInt16 qType; 
    EventKind evtQWhat; 
    UInt32 evtQMessage; 
    UInt32 evtQWhen; 
    Point evtQWhere; 
    EventModifiers evtQModifiers;
};
typedef EvQEl EvQElPtr;

Field descriptions

qLink

Next queue entry

qType

Queue type (evType)

evtQWhat

Event code

evtQMessage

Event message

evtQWhen

Ticks since startup

evtQWhere

Mouse location

evtQModifiers

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)