Source object can provide visual feedback during OLE drag & drop.
| C# | void object_OLEGiveFeedback(object sender, AxSftDateLib20._ISftDateEvents_OLEGiveFeedbackEvent e); |
| VB.NET | Private Sub object_OLEGiveFeedback(ByVal sender As Object, ByVal e As AxSftDateLib20._ISftDateEvents_OLEGiveFeedbackEvent) Handles object.OLEGiveFeedback |
| C++ | void OnOLEGiveFeedbackobject(long* Effect, VARIANT_BOOL* DefaultCursors); |
| C | HRESULT OnOLEGiveFeedbackobject(long* Effect, VARIANT_BOOL* DefaultCursors); |
object
Effect
A value set by the target component identifying the action that will be performed if the data is dropped.
| 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.
DefaultCursors
Determines whether the default mouse cursor provided by the component is used or a user-defined mouse cursor is used.
The OLEGiveFeedback event occurs when the source object can provide visual feedback during OLE drag & drop.
See Also SftDate Object | Object Hierarchy