GetView Function (ListView)

Class

ListView.

Action

Returns the name of the current view of the listview.

Availability

This functionality is supported only if you are using the Classic Agent.

Syntax

View = listview.GetView()
Variable Description
View Returns the current view of the listview. LVVIEW.

Notes

The returned view is one of the following constants: LVV_ICON, LVV_SMALL_ICON, LVV_LIST, or LVV_DETAILS.

Example

if(MyDialog.MyListView.GetView() != LVV_DETAILS) //...