TMouseDriver record
Mouse driver structure.
Declaration
TMouseDriver = recordDescription
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
UseDefaultQueue | Should the default event queue mechanism be used. | |
InitDriver | Called when the driver must be initialized. | |
DoneDriver | Called when the driver will be unloaded. | |
DetectMouse | Function called when the mouse must be detected. | |
ShowMouse | Function called when the mouse cursor must be shown. | |
HideMouse | Function called when the mouse cursor must be hidden. | |
GetMouseX | Called to get the mouse cursors horizontal position. | |
GetMouseY | Called to get the mouse cursors vertical position. | |
GetMouseButtons | Called to get the currently pressed mouse buttons. | |
SetMouseXY | Called when the current mouse position must be set. | |
GetMouseEvent | Called to get the next mouse event. Waits if needed. | |
PollMouseEvent | Called to get the next mouse event. Does not wait. | |
PutMouseEvent | Called to put a mouse event back in the queue. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
