WinXListView_Sort


WinXListView_Sort (hLV, iCol, desc)

Sorts the items in a list view alphabetically based on their string titles.

Parameter Description
hLV The handle to the list view control to sort
iCol The 0 based index of the column to sort by
desc $$TRUE to sort descending, $$FALSE to sort ascending

Returns

$$TRUE on success or $$FALSE on fail

Remarks

none

Examples

' Sort a list view control by the first column
WinXListView_Sort (hLV, 0, $$FALSE)

Related Links

List View Controls
WinXListView_AddColumn
WinXListView_AddItem
WinXListView_SetItemText