Vcl.Controls.TDragImageList.BeginDrag
Delphi
function BeginDrag(Window: HWND; X, Y: Integer): Boolean;
C++
bool __fastcall BeginDrag(HWND Window, int X, int Y);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TDragImageList |
Description
Starts the dragging of an image list.
Use BeginDrag to start dragging the image set by SetDragImage. The image starts at the position specified by X and Y, which are the coordinates of the drag image relative to the window whose handle is specified by the Window parameter. BeginDrag returnsTrue if it was successful in starting the drag of the image.