Partager via


ImageList_SetDragCursorImage

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

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.
  • dxHotspotand dyHotspot
    [in] Specifies the position of the hot spot within the new image.

Return Value

Nonzero indicates success. Zero indicates failure.

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

See Also

Reference

ImageList_EndDrag
ImageList_BeginDrag