Sign in Join
FPDoc Onlineexperiment

TMouseDriver record

In unit Mouse

Mouse driver structure.

Declaration

pascal
TMouseDriver = record

Description

The TMouseDriver record is used to implement a mouse driver in the SetMouseDriver function. Its fields must be filled in before calling the SetMouseDriver function.

See also

Fields

UseDefaultQueueShould the default event queue mechanism be used.
InitDriverCalled when the driver must be initialized.
DoneDriverCalled when the driver will be unloaded.
DetectMouseFunction called when the mouse must be detected.
ShowMouseFunction called when the mouse cursor must be shown.
HideMouseFunction called when the mouse cursor must be hidden.
GetMouseXCalled to get the mouse cursors horizontal position.
GetMouseYCalled to get the mouse cursors vertical position.
GetMouseButtonsCalled to get the currently pressed mouse buttons.
SetMouseXYCalled when the current mouse position must be set.
GetMouseEventCalled to get the next mouse event. Waits if needed.
PollMouseEventCalled to get the next mouse event. Does not wait.
PutMouseEventCalled to put a mouse event back in the queue.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.