[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Query next mouse event. Do not wait if none available.
Source position: mouseh.inc line 99
function PollMouseEvent( |
var MouseEvent: TMouseEvent |
):Boolean; |
PollMouseEvent checks whether a mouse event is available, and returns it in MouseEvent if one is found. The function result is True in that case. If no mouse event is pending, the function result is False, and the contents of MouseEvent is undefined.
Note that after a call to PollMouseEvent, the event should still be removed from the mouse event queue with a call to GetMouseEvent.
None.
|
Get next mouse event from the queue. |
|
|
Put a mouse event in the event queue. |