Share via


ImageList_DragMove

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

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 Values

Nonzero indicates success. Zero indicates failure.

Remarks

To begin a drag operation, use the ImageList_BeginDrag function.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h   Commctrl.lib, Imgctl.lib

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.