TVTDragImage.PrepareDrag Method

Virtual Tree View

Creates all necessary structures to do alpha blended dragging using the given image.

Pascal
procedure PrepareDrag(DragImage: TBitmap; ImagePosition: TPoint; HotSpot: TPoint; const DataObject: IDataObject);
Description

ImagePostion and Hotspot are given in screen coordinates. The first determines where to place the drag image while the second is the initial mouse position. This method also determines whether the system supports drag images natively. If so then only minimal structures are created.

Class
Links
What do you think about this topic? Send feedback!