GetView Function (TreeView)

Class

TreeView.

Action

Returns the name of the current view of the tree view.

Availability

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

Syntax

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

Notes

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

Example

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