Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by mirage228,
9. Apr 2009
To retrieve files from a directory on your hard drive use the FindAllFiles function that has been posted here in the forum.
To store the content I would suggest that your write your own Class and/or Object structure, which represents a hierarchial structure (like in a 'Tree'). For example, you write a class called "TFolder" containing a List (e.g. a StringList) of a files you have in it and...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by mirage228,
9. Apr 2009
Ah okay, now I have a clue what you mean ;)
To receive dropped files from Windows Explorer in your Application: WM_DROPFILES, DragAcceptFiles. 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. GetFileSize...
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by mirage228,
9. Apr 2009
Check out the TShellTreeView and TShellListView Components ;-)
Alternative: Use VirtualShellTools from www.mustangpeak.net