ListView Column Sort Funciton
Easily Sort Any ListView Column Ascending and Descending.
AI
AIサマリー: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.
ソースコード
Public Sub SortListView(ctlListView As ListView, intColulunHeaderIndex As Integer) ctlListView.Sorted = True ctlListView.SortKey = intColulunHeaderIndex - 1 If ctlListView.SortOrder = lvwAscending Then ctlListView.SortOrder = lvwDescending Else ctlListView.SortOrder = lvwAscending End If End Sub
オリジナルのコメント (3)
Wayback Machineから復元