Unit 'Mouse' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#rtl]

PutMouseEvent

Put a mouse event in the event queue.

Declaration

Source position: mouseh.inc line 97

procedure PutMouseEvent(

  const MouseEvent: TMouseEvent

);

Description

PutMouseEvent adds MouseEvent to the input queue. The next call to GetMouseEvent or PollMouseEvent will then return MouseEvent.

Please note that depending on the implementation the mouse event queue can hold only one value.

Errors

None.

See also

GetMouseEvent

  

Get next mouse event from the queue.

PollMouseEvent

  

Query next mouse event. Do not wait if none available.


Documentation generated on: Oct 27 2024