Vcl.Controls.TMouse.WheelRouting
Delphi
property WheelRouting: TWheelRouting read FWheelRouting;
C++
__property TWheelRouting WheelRouting = {read=FWheelRouting, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TMouse |
Description
Returns the value used to indicate how Windows treats mouse wheel messages.
The WheelRouting property gives the value used to indicate how Windows treats mouse wheel messages, whether they go to the focused application, the application under the mouse cursor, etc.
To change this, go to the Mouse settings in the Windows UI and change the "Scroll inactive windows when I hover over them" setting.
The WheelRouting property has the following values:
wrFocusedWindow
: The mouse wheel input is delivered to the app with focus. Using this value means the "Scroll inactive windows when I hover over them" setting is set toOn
.wrHybrid
: The mouse wheel input is delivered to the app with focus (desktop apps) or to the app under the mouse cursor (Windows Store apps).wrMousePos
: The mouse wheel input is delivered to the app under the mouse cursor. Using this value means the "Scroll inactive windows when I hover over them" setting is set toOn
.