How to drag a file from Virtual TreeView to Windows Explorer
-
19-09-2019 - |
Question
I have a TVirtualStringTree, each node represents a file, what I want to do is to allow a user drag a node to the Windows Explorer or Outlook and the target gets a real file. It seems that I need to implement the OnGetUserClipboardFormats
and RenderOLEData
event handler? But I don't know where to start...Would you help me?
Solution
Take a look at the Drag and Drop Component Suite from Anders Melander. It's free and will give you all the functionality you will need.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow