Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function moves the image that is being dragged during a drag-and-drop operation. ImageList_DragMoveis typically called in response to a WM_MOUSEMOVE message.

Syntax

BOOL WINAPI ImageList_DragMove(
  int 
x, 
  int 
y 
);

Parameters

x

[in] 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

[in] 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 Value

Nonzero indicates success. Zero indicates failure.

Remarks

To begin a drag operation, use the ImageList_BeginDragfunction.

Requirements

Header commctrl.h
Library commctrl.lib, Imgctl.lib
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later