CTreeCtrl::CreateDragImage

This method creates a dragging bitmap for the specified item in a tree view control, create an image list for it, and add the bitmap to the image list.

At a Glance

Header file: Afxcmn.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions:: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

CImageList* CreateDragImage( HTREEITEM hItem );

See Also

CTreeCtrl::SelectDropTarget, CTreeCtrl::GetDropHilightItem, CTreeCtrl::SetImageList