Share via


Imagelist.dragMove(Int32, Int32) Method

Definition

Moves the image that is being dragged during a drag-and-drop operation.

public:
 virtual bool dragMove(int _x, int _y);
public virtual bool dragMove (int _x, int _y);
abstract member dragMove : int * int -> bool
override this.dragMove : int * int -> bool
Public Overridable Function dragMove (_x As Integer, _y As Integer) As Boolean

Parameters

_x
Int32

The Y-coordinate at which to display the drag icon, relative to the upper-left corner of the window.

_y
Int32

The Y-coordinate at which to display the drag icon, relative to the upper-left corner of the window.

Returns

1 if the method is successful; otherwise, 0.

Remarks

To start the drag operation, call the dragBegin method and then the dragEnter method. The rest of the drag operation is specified by the dragLeave and dragEnd methods.

Applies to