ListView_ColumnGetSubitem()

Examples


The ListView_ColumnGetSubitem() function retrieves the number of the subitem associated with the column.

Syntax

ListView_ColumnGetSubitem(list_view_field, column_index)

Parameters

list_view_field – The list view field containing the specified column.

column_index – An integer specifying the index of the column whose subitem 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.


Return value

An integer indicating the subitem associated with the column.

Comments

You can specify the subitem associated with a column only when you add the column to the list view field. If you want to change the subitem associated with a column, you must remove the column and then re-add it based on the new subitem.


Documentation Feedback