ImageList_SetDragCursorImage(3w)

ImageList_SetDragCursorImage3w

Usage

BOOL ImageList_SetDragCursorImage
(
HIMAGELIST himlDrag,
INT iDrag,
INT dxHotspot,
INT dyHotspot
)

Overview

Combines the specified image with the current drag image.

Params

himlDrag [In] handle to drag image list.

iDrag [In] drag image index.

dxHotspot [In] X position of the hot spot.

dyHotspot [In] Y position of the hot spot.

Returns

Success: TRUE

Failure: FALSE.

Notes

- The names dxHotspot, dyHotspot are misleading because they have nothing to do with a hotspot but are only the offset of the origin of the new image relative to the origin of the old image.

- When this function is called and the drag image is visible, a short flickering occurs but this matches the Win9x behavior. It is possible to fix the flickering using code like in ImageList_DragMove.

Implementation

Declared in "commctrl.h".

Implemented in "dlls/comctl32/imagelist.c".

Debug channel "imagelist".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.