You can use events OLEDragDrop() and OLEDragOver().
Are two examples about it in Solution, branch "Programming".
"Fun with OLE drag and drop" and "OLE drag and drop data formats".
This
example shows OLEDrag&Drop for main window
MartinJ
>When I am in Outlook and I drag & drop a message into Windows Explorer it creates a .MSG file.
>
>How can I do that in VFP: that is drag & drop the message from Outlook to a textbox in VFP where it would create a .MSG file in the default directory and write in the name of that .MSG file in the textbox?
>
>Thanks for your help
>
>Raymond Larche