DragAndDrop Method

Simulates Mouse Drag and Drop operation.

Remarks

The location in mouse simulation methods is expressed in screen coordinates.

Syntax

Visual Basic (Declaration) 
Overridable Sub DragAndDrop( _
   ByVal DragX As Integer, _
   ByVal DragY As Integer, _
   ByVal DropX As Integer, _
   ByVal DropY As Integer, _
   ByVal Button As MOUSE_BUTTON _
) 
C# 
virtual void DragAndDrop( 
   int DragX,
   int DragY,
   int DropX,
   int DropY,
   MOUSE_BUTTON Button
)

Parameters

DragX
Start X location in pixels.
DragY
Start Y location in pixels.
DropX
Drop X location in pixels.
DropY
Drop Y location in pixels.
Button
A value of the MOUSE_BUTTON Enumeration.

See Also