Skip to content

OnMouseDown_Window

event

Delphi
property OnMouseDown_Window: TOnVideoMouseUpDown read FOnMouseDown_Window write FOnMouseDown_Window;
C++Builder
__property TOnVideoMouseUpDown OnMouseDown_Window = {read=FOnMouseDown_Window, write=FOnMouseDown_Window};
typedef void __fastcall (__closure *TOnVideoMouseUpDown)(System::TObject* Sender, System::LongInt VideoWindow, System::Uitypes::TMouseButton Button, System::Classes::TShiftState Shift, System::LongInt X, System::LongInt Y);
C#
public event OnMouseDown_WindowEventHandler OnMouseDown_Window;
public delegate void OnMouseDown_WindowEventHandler(object sender, TOnVideoMouseUpDownEventArgs e);
VB.NET
Public Event OnMouseDown_Window As OnMouseDown_WindowEventHandler
Public Delegate Sub OnMouseDown_WindowEventHandler(sender As Object, e As TOnVideoMouseUpDownEventArgs)
C++/Qt
void SetOnMouseDown_Window (TOnMouseDown_WindowCb OnMouseDown_WindowCb);
typedef void CALLBACK TOnMouseDown_WindowCb (void *Object, void *Sender, int VideoWindow, TMouseButton Button, TMouseButton Shift, int X, int Y);

Occurs when the user presses a mouse button with the mouse pointer over a control. Returns the coordinates of the video window at the cursor location.