Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : simple drag-n-drop suggestion needed

www.cryer.info
Managed Newsgroup Archive

simple drag-n-drop suggestion needed

Subject:simple drag-n-drop suggestion needed
Posted by:"David S" (now..@nohow.com)
Date:10 Nov 2006 10:13:09

We need to be able to simply drag a filename from a TTreeView's .Selected entry over to Delphi or a text editor to open and view it.  We don't want to have to use any components.  Can anybody point me to example code to do this simply?  I'm having a difficult time finding anything besides stuff written for D2 and D3 in Google searches.  Surely, D10 on WinXP might not need to go through all the gyrations as D2 running on Win 98.

Also, I can't tell if all that's needed is to copy the filename as a text entry on the clipboard, or if the entire file is needed.

TIA
-David

Replies:

www.cryer.info
Managed Newsgroup Archive