CMFCTabCtrl::OnDragEnter
Called by the framework during a drag-and-drop operation when the cursor first enters the window of the current tab control.
virtual DROPEFFECT OnDragEnter(
COleDataObject* pDataObject,
DWORD dwKeyState,
CPoint point
);
Parameters
[in] pDataObject
Points to a data object that contains data that the user drags.[in] dwKeyState
Contains the state of the modifier keys. This parameter is a bitwise combination (OR) of the following values: MK_CONTROL, MK_SHIFT, MK_ALT, MK_LBUTTON, MK_MBUTTON, and MK_RBUTTON. For more information, see the Message Parameters section of About Mouse Input.[in] point
Contains the current location of the cursor in client coordinates.
Return Value
Always DROPEFFECT_NONE, which means that the drop target cannot accept the data.
Remarks
Use this method to support a drag-and-drop operation. Override this method to implement your own custom behavior.
By default, this method only calls CMFCTabCtrl::OnDragOver, which always returns DROPEFFECT_NONE.
Requirements
Header: afxtabctrl.h