Improvements of ListView control

Category:
Forms and Controls
Type:
Applications
Difficulty:
Advanced
Author:
Anonymous

Version Compatibility: Visual Basic 6

More information:
This project demonstrates what can be done from a usual VB control ListView by means of subclassing, custom draw and some other tricks: 1. Icons in subitems (and not only in the very first column). 2. Improved appearance for selected row - without focus rect and without damage to icons. 3. Possibility to mark selected row by border instead of color filling. 4. Prevent resizing of certain columns (i.e. fixed width). 5. In-place tooltips for (sub)items with text being cut-off to column's width. 6. Tooltips for columnheaders. 7. Correct sorting by given column regardless of its contents format. 8. Placement of icons in column headers to the right of the text. 9. Bug-fix of the undocumented font changing problem.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download improved_listview.zip