How to drag a file from Virtual TreeView to Windows Explorer

I have a TVirtualStringTree, each node represents a file, what I want to do is to allow the user to drag the node into Windows or Outlook Explorer, and the target will get a real file. It seems I need to implement the OnGetUserClipboardFormats and RenderOLEData event handler? But I don’t know where to start ... Could you help me?

+4
source share
1 answer

Take a look at the drag and drop component kit from Anders Melander. It is free and will provide you with all the necessary functionality.

+3
source

Source: https://habr.com/ru/post/1300954/


All Articles