Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

TIntuiMessage

Intuition message structure

Declaration

Source position: intuition.pas line 797

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: Pointer;

  

The IDCMPWindow variable will always have the Pointer of the Window of this IDCMP

  SpecialLink: PIntuiMessage;

  

System-use variable

end;

See also

TWindow

  

Window structure

exec.GetMsg

  

Get next message from message port

exec.PutMsg

  

Put a message to a message port

exec.ReplyMsg

  

Put a message to its reply port

exec.WaitPort

  

Wait for a given port to be non-empty


Documentation generated on: 2021-07-30