ImageList_DragEnter  1_HY5ZG 

The ImageList_DragEnter function locks updates to the specified window during a drag operation and displays the drag image at the specified position within the window.

BOOL ImageList_DragEnter(

    HWND hwndLock,

 

    int x,

 

    int y

 

   );

 

 

Parameters

hwndLock

Handle to the window that owns the drag image.

x

Specifies the x-coordinate at which to display the drag image. The coordinate is relative to the upper-left corner of the window, not the client area.

y

Specifies the y-coordinate at which to display the drag image. The coordinate is relative to the upper-left corner of the window, not the client area.

 

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

To begin a drag operation, use the ImageList_BeginDrag function.

See Also

ImageList_BeginDrag