RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDragImageList.DragLock Method

Associates the drag image with the given Window handle and draws it at the position given by the parameters XPos and YPos while the window is in drag mode.

Pascal
function DragLock(Window: HWND; XPos: Integer; YPos: Integer): Boolean;
C++
__fastcall Boolean DragLock(HWND Window, int XPos, int YPos);

Call DragLock to use an image in the image list as a drag image when a particular window is dragged. DragLock returns true if successful. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!