Export (0) Print
Expand All

INameSpaceTreeControl interface

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

Members

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

Methods

The INameSpaceTreeControl interface has these methods.

MethodDescription
AppendRoot

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

CollapseAll

Collapses all of the items in the given tree.

EnsureItemVisible

Ensures that the given item is visible.

GetItemCustomState

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

GetItemRect

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

GetItemState

Gets state information about a Shell item.

GetNextItem

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

GetRootItems

Gets an array of the root items.

GetSelectedItems

Gets an array of selected Shell items.

HitTest

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

Initialize

Initializes an INameSpaceTreeControl object.

InsertRoot

Inserts a Shell item on a root item in a tree.

RemoveAllRoots

Removes all roots and their children from a tree.

RemoveRoot

Removes a root and its children from a tree.

SetItemCustomState

Sets the state of the checkbox associated with the Shell item.

SetItemState

Sets state information for a Shell item.

SetTheme

Sets the desktop theme for the current window only.

TreeAdvise

Enables a client to register with the control.

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]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft