LVM_CREATEDRAGIMAGE message

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

Parameters

wParam

The index of the item.

lParam

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

Return value

Returns the handle to the drag image list if successful, or NULL otherwise.

Remarks

Your application is responsible for destroying the image list when it is no longer needed.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h