Vcl.Controls.TMouseWheelEvent
From RAD Studio API Documentation
C++
typedef void __fastcall (__closure *TMouseWheelEvent)(System::TObject* Sender, System::Classes::TShiftState Shift, int WheelDelta, const System::Types::TPoint &MousePos, bool &Handled);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| typedef | public | Vcl.Controls.hpp | Vcl.Controls | Vcl.Controls |
Description
TMouseWheelEvent is the function type for an OnMouseWheel event.
TMouseWheelEvent has the following parameters:
| Parameter | Meaning |
|---|---|
|
Sender |
The control that generated the event. |
|
Shift |
The shift state during the rotation of the mouse wheel. |
|
WheelDelta |
The amount by which the mouse wheel is rotated. |
|
MousePos |
The current mouse coordinates. |
|
Handled |
Specifies whether the event is handled in the user code. |