CODDropTarget::OnDrop

BOOLCODDropTarget::OnDrop(CWnd*pWnd, COleDataObject*pDataObject, DROPEFFECTdropEffect, CPointpoint)

Called as the components are dropped on a viewport.

Defined in: OdDropTarget.cpp

Return Value

The effect that the user chose for the drop operation.

Parameters

pWnd

Points to the window the cursor is in.

pDataObject

Points to the data object containing the data dropped.

dropEffect

Contains the state of the modifier keys.

point

Contains the current location of the cursor.