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
Returns a drag image representing the currently selected items.
C
HBITMAP WINAPI SftTree_GetDragImage(HWND hwndCtl, int index, LPRECT lpRect, COLORREF *lpColorBg); HBITMAP WINAPI SftTreeSplit_GetDragImage(HWND hwndCtl, int index, LPRECT lpRect, COLORREF *lpColorBg);
C++
HBITMAP CSftTree::GetDragImage(HWND hwndCtl, int index, LPRECT lpRect, COLORREF *lpColorBg) const; HBITMAP CSftTreeSplit::GetDragImage(HWND hwndCtl, int index, LPRECT lpRect, COLORREF *lpColorBg) const;
hwndCtl
The window handle of the tree control.
index
The zero-based index of the item where dragging originated (one of possibly many items). In the current version of the product, this index is not used, but is validated. It is reserved for future expansion.
lpRect
Returns the bitmap dimensions and position, based on the currently selected item(s).
lpColorBg
Returns the background color of the tree control. This parameter may be NULL.
GetDragImage returns a bitmap handle representing the currently selected item(s).
The GetDragImage function returns a drag image representing the currently selected items.
The returned bitmap handle is owned by the application and must be destroyed using the Windows DeleteObject function.
This drag image can be used with the IDropTargetHelper and IDragSourceHelper interfaces to provide a translucent drag image. IDropTargetHelper and IDragSourceHelper interfaces are provided by the Windows Shell starting with Windows 2000 and Windows ME. SftTree/DLL has no built-in support for OLE drag & drop or translucent drag images, as these functions are normally controlled by the application or framework, not by an individual control.
See Also C/C++ API | Categories | Notifications