Intuition message structure
Source position: intuition.pas line 568
type TIntuiMessage = record |
||
ExecMessage: TMessage; |
|
Standard Exec message |
IClass: LongWord; |
|
The Class bits correspond directly with the IDCMP Flags (IDCMP_*), except for the special bit IDCMP_LONELYMESSAGE |
Code: Word; |
|
The Code field is for special values like Menu number, Keycode and so on |
Qualifier: Word; |
|
The Qualifier field is a copy of the current InputEvent's Qualifier |
IAddress: Pointer; |
|
IAddress contains particular addresses for Intuition functions, like the pointer to the Gadget or the Screen |
MouseX: SmallInt; |
|
When getting mouse movement reports, any event you get will have the the mouse coordinates in these variables. |
MouseY: SmallInt; |
|
the coordinates are relative to the upper-left corner of your Window (WA_GIMMEZEROZERO notwithstanding) |
Seconds: LongWord; |
|
The time values are copies of the current system clock time. |
Micros: LongWord; |
|
Micros are in units of microseconds, Seconds in seconds. |
IDCMPWindow: PWindow; |
|
The IDCMPWindow variable will always have the Pointer of the Window of this IDCMP |
SpecialLink: PIntuiMessage; |
|
System-use variable |
end; |
|
Window structure |
|
|
Get next message from message port |
|
|
Put a message to a message port |
|
|
Put a message to its reply port |
|
|
Wait for a given port to be non-empty |