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
Initiates an OLE drag & drop operation.
VB.NET | object.OLEDragPix(ByVal UseFolderData As Boolean, ByVal UseDragPicture As Boolean, ByVal xOffsetPix As OLE_XPOS_PIXELS, ByVal yOffsetPix As OLE_YPOS_PIXELS) |
VB | object.OLEDragPix(ByVal UseFolderData As Boolean, ByVal UseDragPicture As Boolean, ByVal xOffsetPix As OLE_XPOS_PIXELS, ByVal yOffsetPix As OLE_YPOS_PIXELS) |
C#.NET | void object.OLEDragPix(bool UseFolderData, bool UseDragPicture, OLE_XPOS_PIXELS xOffsetPix, OLE_YPOS_PIXELS yOffsetPix); |
VC++ | HRESULT object->OLEDragPix(VARIANT_BOOL UseFolderData, VARIANT_BOOL UseDragPicture, OLE_XPOS_PIXELS xOffsetPix, OLE_YPOS_PIXELS yOffsetPix); |
C | HRESULT object->raw_OLEDragPix(VARIANT_BOOL UseFolderData, VARIANT_BOOL UseDragPicture, OLE_XPOS_PIXELS xOffsetPix, OLE_YPOS_PIXELS yOffsetPix); |
object
UseFolderData
Defines whether folders are about to be dragged. Set to True to drag the selected folders using the Windows Shell drag & drop mechanisms. Set to False to allow an application to drag application specific data provided using the DataObject object methods and properties.
UseDragPicture
Defines whether a semi-transparent image of the folders is used to represent the data being dragged. Set to True to use a semi-transparent image or set to False to use an application provided cursor.
xOffset
If a semi-transparent image is used (see UseDragPicture), xOffset defines the offset of the image's hotspot relative to the top, left corner of the image. This should be set to -1 to allow the control to determine the best offset. The units used are pixels.
yOffset
If a semi-transparent image is used (see UseDragPicture), yOffset defines the offset of the image's hotspot relative to the top, left corner of the image. This should be set to -1 to allow the control to determine the best offset. The units used are pixels.
The OLEDragPix method initiates an OLE drag & drop operation.
OLE Drag & Drop is not supported with combo box style controls (see ControlStyle property).
An application can invoke an OLE drag & drop operation explicitly using the OLEDrag method.
When the OLEDrag method is called, the OLEStartDrag event occurs, allowing the application to supply data to a target component.
If the OLEDragMode property is set to OLEDragSftControlAutomatic, the OLEDrag method is automatically invoked when an OLE drag & drop operation is started by the user.
See Also SftDirectory Object | Object Hierarchy