Vcl.Controls.TMouseActivateEvent
C++
typedef void __fastcall (__closure *TMouseActivateEvent)(System::TObject* Sender, System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, int X, int Y, int HitTest, System::Uitypes::TMouseActivate &MouseActivate);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| typedef | public | Vcl.Controls.hpp | Vcl.Controls | Vcl.Controls | 
Description
TMouseActivateEvent is the function type for an OnMouseActivate event.
TMouseActivateEvent has the following parameters:
| Parameter | Meaning | 
|---|---|
| Sender | The control that generated the event. | 
| 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. | 
| MouseActivate | Specifies the behaviour of the top-level form and whether the mouse messages are processed. |