The ListView_ColumnGetPosition() function retrieves the position of the specified column of a list view field.
ListView_ColumnGetPosition(list_view_field, column_index)
• list_view_field – The list view field containing the specified column.
• column_index – An integer specifying the index of the column whose label is being retrieved. The value 1 indicates the first column that was added to the list view field.
Dragging a column to a different position in the list view does not affect the column index. |
An integer containing the column position. The value 1 indicates the first column in the list.