Source object is starting an OLE drag & drop operation.
| C# | void object_OLEStartDrag(object sender, AxSftDateLib20._ISftDateEvents_OLEStartDragEvent e); |
| VB.NET | Private Sub object_OLEStartDrag(ByVal sender As Object, ByVal e As AxSftDateLib20._ISftDateEvents_OLEStartDragEvent) Handles object.OLEStartDrag |
| C++ | void OnOLEStartDragobject(DataObject** Data, long* AllowedEffects); |
| C | HRESULT OnOLEStartDragobject(DataObject** Data, long* AllowedEffects); |
object
Data
A DataObject object to which the application adds the data formats, and possibly the data, it provides.
AllowedEffects
Set by the application to the effects it supports, a combination of vbDropEffectCopy (1) and vbDropEffectMove (2).
The OLEStartDrag event occurs when the application starts an OLE drag & drop operation using the OLEDrag method. p The application adds the data formats it provides, using SetData. It may defer placing the data itself until the target requests it, in the OLESetData event. If no formats are added or AllowedEffects is not set to vbDropEffectCopy or vbDropEffectMove, the drag & drop operation is cancelled.
See Also SftDate Object | Object Hierarchy