SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Source object can provide visual feedback during OLE drag & drop.
VB.NET | Private Sub object_OLEGiveFeedback(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.OLEGiveFeedback |
VB | Private Sub object_OLEGiveFeedback(Effect As Long, DefaultCursors As Boolean) |
C#.NET | void object_OLEGiveFeedback(object sender, EventArgumentType e); |
VC++ | void OnOLEGiveFeedbackobject(long* Effect, VARIANT_BOOL* DefaultCursors); |
C | HRESULT OnOLEGiveFeedbackobject(long* Effect, VARIANT_BOOL* DefaultCursors); |
object
Effect
A Long variable set by the target component identifying the action that has been performed (if any), thus allowing the source to take appropriate action if the component was moved (such as the source deleting the data).
Effect | Value | Description |
---|---|---|
vbDropEffectNone | 0 | Drop target cannot accept the data. |
vbDropEffectCopy | 1 | Drop results in a copy of data from the source to the target. The original data is unaltered by the drag operation. |
vbDropEffectMove | 2 | Drop results in data being moved from the drag source to the drop source. The drag source should remove the data from itself after the move. |
Note: Only Visual Basic offers the predefined constants vbDropEffectNone, etc. When using other languages, the constants have to be defined explicitly by the application.
DefaultCursors
Determines whether the default mouse cursor provided by the component is used or a user-defined mouse cursor is used.
Boolean | Description |
---|---|
True | The default mouse cursor is used. |
False | The mouse cursor defined using the MousePointer property (of the Screen object) is used instead. |
The OLEGiveFeedback event occurs when source object can provide visual feedback during OLE drag & drop.
See Also SftBox Object | Object Hierarchy