Source object is notified that the OLE drag & drop operation is ending.
| C# | void object_OLECompleteDrag(object sender, AxSftDateLib20._ISftDateEvents_OLECompleteDragEvent e); |
| VB.NET | Private Sub object_OLECompleteDrag(ByVal sender As Object, ByVal e As AxSftDateLib20._ISftDateEvents_OLECompleteDragEvent) Handles object.OLECompleteDrag |
| C++ | void OnOLECompleteDragobject(long* Effect); |
| C | HRESULT OnOLECompleteDragobject(long* Effect); |
object
Effect
A value set by the target object identifying the action that has been performed, thus allowing the source to take appropriate action if the data was moved (such as the source deleting the data).
| Effect | Value | Description |
|---|---|---|
| vbDropEffectNone | 0 | The drop target cannot accept the data. |
| vbDropEffectCopy | 1 | The drop results in a copy of the data from the source to the target. The original data is unaltered by the drag operation. |
| vbDropEffectMove | 2 | The drop results in the data being moved from the drag source to the drop target. The drag source should remove the data from itself after the move. |
Note: The constants vbDropEffectNone, etc. are not predefined and have to be defined by the application.
The OLECompleteDrag event occurs when the source object is notified that the OLE drag & drop operation is ending. p The OLECompleteDrag event is the final event of an OLE drag & drop operation. It informs the source component of the action that was performed when the object was dropped onto the target component. The target sets this value through the Effect parameter of the OLEDragDrop event.
See Also SftDate Object | Object Hierarchy