Listview Controls


List view controls are used to present more detailed lists of information than could be represented by a list box control. Windows uses them for browsing the file system.

List view controls can display their items in several different views. See WinXListView_SetView for a list of these views. Changing the view changes how the control renders the items, but the items themselves are unchanged.

Each item has a label and an icon. Items can also have "Sub Items". Sub items are really strings. They are used in report view where they are displayed in columns. Each column is configured to display a particalar sub item. For example, you might create a column to display the first sub item. Then the first sub item of every item that has a first sub item is displayed in that column.

Related Links

WinXAddListView
WinXListView_SetView
WinXListView_AddColumn
WinXListView_AddItem
WinXListView_GetSelection