Class TCalDropServer (unit Calmuniv)

Inherits from

TDragDrop

Constructors



Functions

function CanDrop: Boolean;

Drop the files

procedure DragFinished;


procedure DropFiles(Wnd: HWnd; AMousePos: TPoint);

Public declarations

Windows expects a WM_DROPFILES message to contain a memory handle with this structure as a header


Properties

property DesktopDrop : Boolean


property InternalDrop : Boolean

Published declarations

Events

event OnDeskDrop : TFileDropEvent


event OnFileDrag : TFileDragEvent


event OnFileDrop : TFileDropEvent


Variables

AllowDrop : Boolean;


DropPoint : TPoint;

Private declarations

DropWindow : HWND;


FDesktopDrop : Boolean;


FInternalDrop : Boolean;


FOnDeskDrop : TFileDropEvent;


FOnFileDrag : TFileDragEvent;


FOnFileDrop : TFileDropEvent;



Constructors


Functions


function CanDrop: Boolean;

Drop the files


procedure DragFinished;


procedure DropFiles(Wnd: HWnd; AMousePos: TPoint);

Public declarations

Windows expects a WM_DROPFILES message to contain a memory handle with this structure as a header


Properties


property DesktopDrop : Boolean


property InternalDrop : Boolean

Published declarations


Events


event OnDeskDrop : TFileDropEvent


event OnFileDrag : TFileDragEvent


event OnFileDrop : TFileDropEvent


Variables


AllowDrop : Boolean;


DropPoint : TPoint;

Private declarations


DropWindow : HWND;


FDesktopDrop : Boolean;


FInternalDrop : Boolean;


FOnDeskDrop : TFileDropEvent;


FOnFileDrag : TFileDragEvent;


FOnFileDrop : TFileDropEvent;