SECEditCtrlOleDropTarget::OnDrop
BOOLSECEditCtrlOleDropTarget::OnDrop(CWnd*pWnd, COleDataObject*pDataObject, DROPEFFECTdropEffect, CPointpoint)
Called when a drop operation is to occur. The framework first calls OnDropEx. If the OnDropEx function does not handle the drop, the framework then calls this member function, OnDrop. Typically, the application overrides OnDropEx in the view class to handle right mouse-button drag and drop. Typically, the view class OnDrop is used to handle simple drag and drop.
Defined in: SECEditCtrlOleDropTarget.cpp
Return Value
Nonzero if the drop is successful; otherwise 0.
Parameters
pWnd
Points to the window the cursor is currently over.
pDataObject
Points to the data object that contains the data to be dropped.
dropEffect
The effect that the user chose for the drop operation. It can be one or more of the following:
DROPEFFECT_COPY A copy operation would be performed.
DROPEFFECT_MOVE A move operation would be performed.
point
Contains the location of the cursor, in pixels, relative to the screen.
See Also