INameSpaceTreeControl2 interface (shobjidl.h)

Extends the INameSpaceTreeControl interface by providing methods that get and set the display styles of treeview controls for use with Shell namespace items.

Inheritance

The INameSpaceTreeControl2 interface inherits from INameSpaceTreeControl. INameSpaceTreeControl2 also has these types of members:

Methods

The INameSpaceTreeControl2 interface has these methods.

 
INameSpaceTreeControl2::GetControlStyle

Gets the display styles set for the namespace object's treeview controls.
INameSpaceTreeControl2::GetControlStyle2

Gets the extended display styles set for the namespace object's treeview controls.
INameSpaceTreeControl2::SetControlStyle

Sets the display styles for the namespace object's treeview controls.
INameSpaceTreeControl2::SetControlStyle2

Sets the extended display styles for the namespace object's treeview controls.

Remarks

This interface also provides the methods of the INameSpaceTreeControl interface, from which it inherits.

Use class identifier (CLSID) CLSID_NameSpaceTreeControl to instantiate an instance of this interface.

When to Implement

An implementation of this interface is provided with Windows. Third parties should not implement their own versions.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header shobjidl.h