Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.MouseActivate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MouseActivate(Button: TMouseButton; Shift: TShiftState;  X, Y: Integer; HitTest: Integer): TMouseActivate; dynamic;

C++

DYNAMIC System::Uitypes::TMouseActivate __fastcall MouseActivate(System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y, int HitTest);

Properties

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

Description

Triggers a TMouseActivateEvent event.

Use MouseActivate to trigger a TMouseActivateEvent event with the given parameters.

The following table explains the meaning of each parameter:



Parameter Meaning

Button

The mouse button that is pressed.

Shift

The shift state while the mouse button is pressed.

X | Y

The current mouse coordinates.

HitTest

The hit test value obtained from the WM_NCHITTEST message.



See Also

Personal tools
In Other Languages
Previous Versions
Assistance