ImageList_DragMove function

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

Syntax

BOOL ImageList_DragMove(
  int x,
  int y
);

Parameters

x

Type: int

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

Type: int

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

Type: BOOL

Returns nonzero if successful, or zero otherwise.

Remarks

To begin a drag operation, use the ImageList_BeginDrag function.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h
Library Comctl32.lib
DLL Comctl32.dll