Figure 12.6 The List View and the Tree Control
You can implement a column heading with the Visual Basic ListView control by setting the View property to 3-lvwReport and changing the column heading text. With the column heading, you can define the sort order based on the property of items in the list.
You can resize a whole column in the list by dragging the column separator, and you can sort the list by clicking the desired column. The Microsoft Mail Inbox window is an example of a column heading control. In this window, column headings show the name of the folder you currently have open , from whom the mail has come, the subject line of the mail, and the date the mail was received. Clicking the From column heading sorts the rows in alphabetical order by sender name.