RAD Studio VCL Reference
|
Triggers a TMouseActivateEvent event.
function MouseActivate(Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer; HitTest: Integer): TMouseActivate; dynamic;
__fastcall TMouseActivate MouseActivate(TMouseButton Button, TShiftState Shift, int X, int Y, int HitTest);
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. |
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|