Unit 'msegui' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#msegui]

tmouseevent

[Properties (by Name)] [Methods (by Name)]

Event describing a mouse action on a window

Declaration

Source position: msegui.pas line 3106

type tmouseevent = class(twindowevent)

public

  fpos: pointty;

  

Mouse position, in the window's coordinate system

  fbutton: mousebuttonty;

  

Mouse button involved in the event, or mb_none for a mouse-move event

  fwheel: mousewheelty;

  

Mouse wheel movement reported by the event

  fshiftstate: shiftstatesty;

  

State of the modifier keys (shift, ctrl, alt...) at the time of the event

  freflected: Boolean;

  

True if the event is a reflected event

  property timestamp: LongWord; [r]

  

Time of the event, in microseconds, or 0 if not available

  constructor create();

end;

Inheritance

tmouseevent

  

Event describing a mouse action on a window

|

twindowevent

  

Base event class for asynchronous notifications about a specific window

|

tmseevent

|

tnullinterfacedobject

|

TObject,iunknown

Description

Event describing a mouse action on a window. It reports the mouse position, the button and wheel involved, the state of the modifier keys and whether the event is reflected.


Documentation generated on: 2026-10-03