Vcl.Controls.TControl.DoMouseWheelUp

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoMouseWheelUp(Shift: TShiftState; MousePos: TPoint): Boolean; dynamic;

C++

DYNAMIC bool __fastcall DoMouseWheelUp(System::Classes::TShiftState Shift, const System::Types::TPoint &MousePos);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Is an OnMouseWheelUp event dispatcher.

The DoMouseWheel method calls DoMouseWheelUp to generate an OnMouseWheelUp event.

The Shift parameter indicates the state of the SHIFT, ALT, and CTRL keys.

The MousePos parameter indicates the position of the mouse pointer.

DoMouseWheelUp returns true if an event handler indicates that it handled the message, and false otherwise.

Override DoMouseWheelUp to perform class-specific tasks in addition to calling the event handler when the mouse wheel is rotated upward.

See Also