Share via


Imagelist.dragEnter Method

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

Syntax

public boolean dragEnter(
    int hWnd, 
    int x, 
    int y)

Run On

Client

Parameters

  • hWnd
    Type: int
    The handle to the window that owns the drag image.
  • x
    Type: int
    The X-coordinate at which to display the drag icon relative to the upper-left corner of the window.
  • y
    Type: int
    The Y-coordinate at which to display the drag icon relative to the upper-left corner of the window.

Return Value

Type: boolean
1 if 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.

See Also

Imagelist Class

Imagelist.dragBegin Method

Imagelist.dragMove Method

Imagelist.dragLeave Method

Imagelist.dragEnd Method