SEC_TREECLASS::CreateDragImage

CImageList*SEC_TREECLASS::CreateDragImage(HTREEITEMhti)

Creates a dragging bitmap for the given item in a tree view control, creates an image list for the bitmap, and adds the bitmap to the image list. An application uses the image-list functions to display the image when an item is being dragged.

Defined in: trcore.inl

Return Value

Pointer to the image list to which the dragging bitmap was added, if successful; otherwise NULL.

Parameters

hti

Handle of the tree item to be dragged.

Comments

Call this function to create a dragging bitmap for the given item in a tree view control, create an image list for the bitmap, and add the bitmap to the image list. An application uses the image-list functions to display the image when the item is being dragged.