View::ScopeTreeVisible property

The ScopeTreeVisible property sets or returns the scope tree visible state. This property is read/write.

Syntax

Property ScopeTreeVisible As Long

Property value

The scope tree's visible state. The visible state is 1 when the scope tree is visible, or 0 when it is hidden.

Examples

' Determine the scope tree visibility state.
Dim nVisible As Long
nVisible = objView.ScopeTreeVisible
If (1 = nVisible) Then
    MsgBox ("The scope tree is visible")
Else
    MsgBox ("The scope tree is not visible.")
End If
 
' Make the scope tree hidden.
objView.ScopeTreeVisible = 0

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Header
MMCObj.h
IDL
MMCObj.idl
DLL
Mmc.exe
IID
IID_View is defined as 6EFC2DA2-B38C-457E-9ABB-ED2D189B8C38

See also

ViewOptions