CODDropTarget::OnDragEnter

DROPEFFECTCODDropTarget::OnDragEnter(CWnd*pWnd, COleDataObject*pDataObject, DWORDdwKeyState, CPointpoint)

Called when the drag operation first enters this viewport.

Defined in: OdDropTarget.cpp

Return Value

The effect that would result if a drop were attempted at the location specified.

Parameters

pWnd

Points to the window the cursor is entering.

pDataObject

Points to the data object containing the data that can be dropped.

dwKeyState

Contains the state of the modifier keys.

point

Contains the current location of the cursor.