Vcl.Forms.TCustomForm.MouseWheelHandler
Delphi
procedure MouseWheelHandler(var Message: TMessage); override;
C++
DYNAMIC void __fastcall MouseWheelHandler(Winapi::Messages::TMessage &Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Directs mouse wheel messages to the appropriate control.
MouseWheelHandler is called automatically when the form or any windowed control contained in the form receives a message from a mouse wheel. The Message parameter encapsulates the message.
As implemented in TCustomForm, MouseWheelHandler performs no special processing, but simply redirects the message to the active control by calling its Perform method. By default, the Perform method generates the appropriate mouse wheel events.