CMFCTabDropTarget::OnDropEx
Called by the framework when the user releases the mouse button at the end of a drag operation.
virtual DROPEFFECT OnDropEx(
CWnd* pWnd,
COleDataObject* pDataObject,
DROPEFFECT dropEffect,
DROPEFFECT dropList,
CPoint point
);
Parameters
Parameter |
Description |
[in] pWnd |
Unused. |
[in] pDataObject |
A pointer to the object that the user drags. |
[in] dropEffect |
The default drop operation. |
[in] dropList |
Unused. |
[in] point |
The location of the mouse pointer in client coordinates. |
Return Value
The resulting drop effect. It can be one or more of the following:
DROPEFFECT_NONE
DROPEFFECT_COPY
DROPEFFECT_MOVE
DROPEFFECT_LINK
DROPEFFECT_SCROLL
Remarks
This method calls CMFCBaseTabCtrl::OnDrop if the toolbar framework is in customization mode and the Clipboard data format is available. If the call to CMFCBaseTabCtrl::OnDrop returns a nonzero value, this method returns the default drop effect specified by dropEffect. Otherwise, this method returns DROPEFFECT_NONE. For more information about drop effects, see COleDropTarget::OnDropEx.
For more information about customization mode, see CMFCToolBar::IsCustomizeMode. For more information about Clipboard data formats, see COleDataObject::IsDataAvailable.
Requirements
Header: afxbasetabctrl.h