Поделиться через


ImageList_SetDragCursorImage (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Image List Functions
ImageList_EndDrag
ImageList_BeginDrag