Compartir a través de


Imagelist.dragEnter(Int32, Int32, Int32) Method

Definition

Locks updates to the specified window during a drag operation and displays the drag image at the specified position in the window.

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

Parameters

_hWnd
Int32

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

_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. The rest of the drag operation is specified by the dragMove, dragLeave, and dragEnd methods.

Applies to