Recent

Author Topic: Dragging out of Form, dropping on desktop  (Read 1297 times)

eraaijma

  • New Member
  • *
  • Posts: 26
Dragging out of Form, dropping on desktop
« on: July 26, 2016, 04:30:59 pm »
Hi fellow programmers,

I have:
- a TImage,
- a TMemoryStream with a PictureFile in it,
- the original filename+extension of the PictureFile
I would like to do:
- aStream.SaveToFile(path + filename) by dragging the picture on to a file-explorer, the only thing I am missing is the path of the dropzone

I have found a component the seems to work well (Nativedragsource) and
at NativeDragSource1DragEnd(Sender:TObject) I would like to get the (Windows?) information where my cursor is? (and get a Path that I can stick before the filename)










 

TinyPortal © 2005-2018