CImageList::BeginDrag

Call this member function to begin dragging an image. This function creates a temporary image list that is used for dragging. The image combines the specified image and its mask with the current cursor. In response to subsequent WM_MOUSEMOVE messages, you can move the drag image by using the DragMove member function. To end the drag operation, you can use the EndDrag member function.

Syntax

BOOL BeginDrag( int nImage, CPoint ptHotSpot );

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CImageList Overview, CImageList Member Functions, Control Support Classes, CImageList::Draw, CImageList::EndDrag, CImageList::DragMove