SetDisplayMouseMovesWindow
Delphi
procedure SetDisplayMouseMovesWindow (DisplayIndex: LongInt; Value: Boolean);
C++Builder
void __fastcall SetDisplayMouseMovesWindow(System::LongInt DisplayIndex, bool Value);
C#
public void SetDisplayMouseMovesWindow(int DisplayIndex, bool Value);
VB.NET
Public Sub SetDisplayMouseMovesWindow(DisplayIndex As Integer, Value As Boolean)
When the video window is not embedded in the TVideoGrabber control:
-
if enabled: the mouse moves the video window,
-
if disabled: the mouse returns mouse events, e.g. to draw graphic objects over the video window.
The window Index specified must be in the 2..8 range (0..1 reserved to Display... and Dual_Display)