INameSpaceTreeControl interface (shobjidl_core.h)

Exposes methods used to view and manipulate nodes in a tree of Shell items.

Inheritance

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

Methods

The INameSpaceTreeControl interface has these methods.

 
INameSpaceTreeControl::AppendRoot

Appends a Shell item to the list of roots in a tree.
INameSpaceTreeControl::CollapseAll

Collapses all of the items in the given tree.
INameSpaceTreeControl::EnsureItemVisible

Ensures that the given item is visible.
INameSpaceTreeControl::GetItemCustomState

Gets the state of the checkbox associated with a given Shell item.
INameSpaceTreeControl::GetItemRect

Gets the RECT structure that describes the size and position of a given item.
INameSpaceTreeControl::GetItemState

Gets state information about a Shell item.
INameSpaceTreeControl::GetNextItem

Retrieves the next item in the tree according to which method is requested.
INameSpaceTreeControl::GetRootItems

Gets an array of the root items.
INameSpaceTreeControl::GetSelectedItems

Gets an array of selected Shell items.
INameSpaceTreeControl::HitTest

Retrieves the item that a given point is in, if any.
INameSpaceTreeControl::Initialize

Initializes an INameSpaceTreeControl object.
INameSpaceTreeControl::InsertRoot

Inserts a Shell item on a root item in a tree.
INameSpaceTreeControl::RemoveAllRoots

Removes all roots and their children from a tree.
INameSpaceTreeControl::RemoveRoot

Removes a root and its children from a tree.
INameSpaceTreeControl::SetItemCustomState

Sets the state of the checkbox associated with the Shell item.
INameSpaceTreeControl::SetItemState

Sets state information for a Shell item.
INameSpaceTreeControl::SetTheme

Sets the desktop theme for the current window only.
INameSpaceTreeControl::TreeAdvise

Enables a client to register with the control.
INameSpaceTreeControl::TreeUnadvise

Enables a client to unregister with the control.

Remarks

To implement this interface use class ID CLSID_NameSpaceTreeControl.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)