Einzelnen Beitrag anzeigen

Benutzerbild von mirage228
mirage228

Registriert seit: 23. Mär 2003
Ort: Münster
3.750 Beiträge
 
Delphi 2010 Professional
 
#4

Re: Virtual file-view (tree and list)

  Alt 9. Apr 2009, 12:26
Ah okay, now I have a clue what you mean

To receive dropped files from Windows Explorer in your Application: Hier im Forum suchenWM_DROPFILES, Hier im Forum suchenDragAcceptFiles. You will find a lot of example code with these two search terms.
Once you get the FileName of the dropped file(s), you have to gather the required information (size, file type and so on) to display it in your tree view. (Search for e.g. Hier im Forum suchenGetFileSize and/or browse your Delphi Help )

On information how to add entries with System Images (<- Hier im Forum suchenShGetFileInfo) you may want to search for a tutorial regarding TTreeView (I don't any now, sorry - but maybe the Delphi Help is useful for you as well).
Or you use the even more powerful VirtualTreeView - if you're okay with German, I got a Tutorial for you: http://www.delphi-treff.de/tutorials...rtualtreeview/
David F.

May the source be with you, stranger.
PHP Inspection Unit (Delphi-Unit zum Analysieren von PHP Code)
  Mit Zitat antworten Zitat