[Overview][Constants][Types][Procedures and functions][Variables] |
Mouse event reporting record.
Source position: mouseh.inc line 22
type TMouseEvent = packed record |
||
buttons: Word; |
|
Pressed buttons at time of event. |
x: Word; |
|
Horizontal position of mouse cursor. |
y: Word; |
|
Vertical position of mouse cursor. |
Action: Word; |
|
Type of event. |
end; |
The TMouseEventis the central type of the mouse unit, it is used to describe all mouse events.
The Buttonsfield describes which buttons were down when the event occurred. The x,yfields describe where the event occurred on the screen. The Actiondescribes what action was going on when the event occurred. The Buttonsand Actionfield can be examined using the constants defined in the unit interface.
|
Get next mouse event from the queue. |
|
|
Query next mouse event. Do not wait if none available. |
|
|
Put a mouse event in the venet queue. |