The ListView_SetView() function sets the view mode for the specified list view field.
ListView_SetView(list_view_field, view_mode)
• list_view_field – The list view field for which the view mode is being set.
• view_mode – An integer specifying the view mode. The value corresponds to one of the following constants:
Constant |
Description |
---|---|
LV_SMICON_VIEW |
Small icon view |
LV_LGICON_VIEW |
Large icon view |
LV_LIST_VIEW |
List view |
LV_REPORT_VIEW |
Report view |
An integer containing the previous view mode for the list view field. The value corresponds to one of the constants listed for the view_mode parameter.