TMouseEvent
Mouse event reporting record.
Declaration
Source position: mouseh.inc line 22
Type
TMouseEvent = packed record
buttons : Word;
x : Word;
y : Word;
Action : Word;
end
Description
The TMouseEvent is the central type of the mouse unit, it is used to describe all mouse events.
The Buttons field describes which buttons were down when the event occurred. The x,y fields describe where the event occurred on the screen. The Action describes what action was going on when the event occurred. The Buttons and Action field can be examined using the constants defined in the unit interface.
See also
Name | Description |
---|---|
GetMouseEvent | Get next mouse event from the queue. |
PollMouseEvent | Query next mouse event. Do not wait if none available. |
PutMouseEvent | Put a mouse event in the event queue. |
Word | An unsigned 16-bits integer |
Word | An unsigned 16-bits integer |
Word | An unsigned 16-bits integer |
Word | An unsigned 16-bits integer |