LVM_CREATEDRAGIMAGE

This message creates a drag image list for the specified item. You can send this message explicitly or by using the ListView_CreateDragImage macro.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: ListView_CreateDragImage

Syntax

LVM_CREATEDRAGIMAGE wParam = (WPARAM)(int) iItem;
lParam = (LPARAM)(LPPOINT) lpptUpLeft;

Parameters

iItem

Index of the item.

lpptUpLeft

Long pointer to a POINT structure that receives the initial location of the upper-left corner of the image, in view coordinates.

Return Values

The handle to the drag image list indicates success. NULL indicates otherwise.