CImageList* CreateDragImage( int nIndex );
Return Value
A pointer to a CImageList object if successful; otherwise NULL. The returned list contains only one image.
Parameters
nIndex
The zero-based index of the item within the header control. The image assigned to this item is the basis for the transparent image.
Remarks
This member function implements the behavior of the Win32 message HDM_CREATEDRAGIMAGE, as described in the Platform SDK. It is provided to support header item drag and drop.
The CImageList object to which the returned pointer points is a temporary object, and is deleted in the next idle-time processing.
CHeaderCtrl Overview | Class Members | Hierarchy Chart
See Also CHeaderCtrl::GetImageList, CHeaderCtrl::SetImageList