CODDropTarget::OnDragOver

DROPEFFECT CODDropTarget::OnDragOver(CWnd* pWnd, COleDataObject* pDataObject, DWORD dwKeyState, CPoint point)

Called as the components are dragged over the 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 in.

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.