CImageList::BeginDrag

This method begins dragging an image. This method 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 method. To end the drag operation, you can use the EndDrag method.

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

BOOL BeginDrag( int nImage, CPoint ptHotSpot );

See Also

CImageList::Draw, CImageList::EndDrag, CImageList::DragMove