How to: Expand and Collapse Spy++ Trees

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at How to: Expand and Collapse Spy++ Trees.

You can expand and collapse the Windows, Processes, and Threads views using two methods: by clicking on the icons in the window or by using the Tree menu. The + and – icons in the tree act as they do in the Visual C++ project window.

The Tree menu contains four commands:

Menu CommandDescription
Expand One LevelExpands the currently selected item to the next level.
Expand BranchFully expands the currently selected item.
Expand AllFully expands all items in the window.
CollapseFully collapses the currently selected item.
System_CAPS_ICON_tip.jpg Tip

If you expand a process, you see all the threads the process owns. If you expand a thread, you see a list of all the windows it owns.

To expand or collapse Spy++ trees

  1. Highlight one of the items in the Windows, Processes, or Threads view.

  2. From the Tree menu, choose one of the expand or collapse commands.

Using Spy++
Spy++ Views
Spy++ Reference

Show: