Contents Index Topic Contents | ||
Previous Topic: ListView_Arrange Next Topic: ListView_DeleteAllItems |
ListView_CreateDragImage
HIMAGELIST ListView_CreateDragImage( HWND hwnd, int iItem, LPPOINT lpptUpLeft );Creates a drag image list for the specified item. You can use this macro or send the LVM_CREATEDRAGIMAGE message explicitly.
- Returns the handle to the drag image list if successful, or NULL otherwise.
- hwnd
- Handle to the list view control.
- iItem
- Index of the item.
- lpptUpLeft
- Address of a POINT structure that receives the initial location of the upper-left corner of the image, in view coordinates.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.