CDataObject::DoDragDrop

DWORDCDataObject::DoDragDrop(DWORDdwEffects = DROPEFFECT_COPY or DROPEFFECT_MOVE or DROPEFFECT_LINK,CLIPFORMAT, LPCRECTlpRectStartDrag = NULL,, IDropSource*pDropSource = NULL)

Initiate dragging and dropping

Defined in: DataSource.h

Return Value

Returns the DROPEFFECT mode when the drag drop operation ended

Parameters

dwEffects = DROPEFFECT_COPY or DROPEFFECT_MOVE or DROPEFFECT_LINK,CLIPFORMAT

Allowable drag drop modes

lpRectStartDrag = NULL,

Pointer to a rectangle

pDropSource = NULL

IDropSource necessary for the drag drop operation data.

Comments

Initiate the drag drop operation