Sign in Join
FPDoc Onlineexperiment

TCMMouseWheel record

In unit Controls

Defines a structure used for mouse wheel control messages.

Declaration

pascal
TCMMouseWheel = record

Description

Holds mouse wheel details that include:

  • the Message associated with the wheel
  • the shift state (i.e. whether Shift, Alt, Control keys have been pressed)
  • the mouse position
  • the message Result

Fields

MSgCardinal value with the CM_MOUSEWHEEL identifier for the mouse wheel message.
ShiftStateState of the modifier for keys and mouse buttons.
UnusedInserted for alignment only.
WheelDelta

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