Εμφάνιση αναρτήσεων με ετικέτα ListView. Εμφάνιση όλων των αναρτήσεων
Εμφάνιση αναρτήσεων με ετικέτα ListView. Εμφάνιση όλων των αναρτήσεων

Παρασκευή 11 Μαΐου 2012

Directory structure with associated icons and file info in ListView

Using ShellAPI unit and few lines of code, we can load directory structure into ListView and show associated icons and information for each file.

Sort ListView by clicking on columns

First of all, set ListView to vsReport style and fill in some data. OnColumnClick and OnCompare events will do the rest.

Change color of ListView items

To change background color of ListView items, you need to write your own OnCustomDrawItem event handler.