Share via


ImageList_SetDragCursorImage

This function creates a new drag image by combining the specified image with the current drag image.

BOOL WINAPI ImageList_SetDragCursorImage(
  HIMAGELIST himlDrag, 
  int iDrag, 
  int dxHotspot, 
  int dyHotspot 
);

Parameters

  • himlDrag
    [in] Handle to the image list that contains the new image to combine with the drag image.
  • iDrag
    [in] Index of the new image to combine with the drag image.
  • dxHotspot and dyHotspot
    [in] Specifies the position of the hot spot within the new image.

Return Values

Nonzero indicates success. Zero indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
Link Library: Commctrl.lib, Imgctl.lib.

See Also

ImageList_EndDrag | ImageList_BeginDrag

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.