Vcl.Ribbon.TCustomRibbon.DoMouseWheelEx
Delphi
function DoMouseWheelEx(Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint): Boolean;
C++
bool __fastcall DoMouseWheelEx(System::Classes::TShiftState Shift, int WheelDelta, const System::Types::TPoint &MousePos);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Ribbon.pas Vcl.Ribbon.hpp |
Vcl.Ribbon | TCustomRibbon |
Description
Processes mouse wheel motion.
If the ribbon is visible and the key tips are not, DoMouseWheelEx is called automatically when the user rotates the mouse wheel.
The Shift
parameter indicates the current state of the Shift, Alt, and Ctrl keys.
The WheelDelta
parameter indicates the distance the wheel was rotated. WheelDelta
is positive if the mouse was rotated upward, negative if the mouse was rotated downward.
The MousePos
parameter indicates the current position of the mouse pointer.
DoMouseWheelEx returns True if an event handler indicates that the event was found.