INameSpaceTreeControlEvents interface (shobjidl.h)

Exposes methods for handling INameSpaceTreeControl events.

Inheritance

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

Methods

The INameSpaceTreeControlEvents interface has these methods.

 
INameSpaceTreeControlEvents::OnAfterContextMenu

Called after a context menu is displayed.
INameSpaceTreeControlEvents::OnAfterExpand

Called after an IShellItem is expanded.
INameSpaceTreeControlEvents::OnBeforeContextMenu

Called before a context menu is displayed; allows client to add additional menu entries.
INameSpaceTreeControlEvents::OnBeforeExpand

Called before an IShellItem is expanded.
INameSpaceTreeControlEvents::OnBeforeItemDelete

Called before an IShellItem and all of its children are deleted.
INameSpaceTreeControlEvents::OnBeforeStateImageChange

Called before the state icon of the given IShellItem is changed.
INameSpaceTreeControlEvents::OnBeginLabelEdit

Called before the IShellItem goes into edit mode.
INameSpaceTreeControlEvents::OnEndLabelEdit

Called after the IShellItem leaves edit mode.
INameSpaceTreeControlEvents::OnGetToolTip

Enables you to provide a tooltip.
INameSpaceTreeControlEvents::OnItemAdded

Called after an IShellItem has been added.
INameSpaceTreeControlEvents::OnItemClick

Called when the user clicks a button on the mouse.
INameSpaceTreeControlEvents::OnItemDeleted

Called after an IShellItem has been deleted.
INameSpaceTreeControlEvents::OnItemStateChanged

Not implemented. (INameSpaceTreeControlEvents.OnItemStateChanged)
INameSpaceTreeControlEvents::OnItemStateChanging

Called before the state of an item changes.
INameSpaceTreeControlEvents::OnKeyboardInput

Called when the user presses a key on the keyboard.
INameSpaceTreeControlEvents::OnPropertyItemCommit

Not implemented. (INameSpaceTreeControlEvents.OnPropertyItemCommit)
INameSpaceTreeControlEvents::OnSelectionChanged

Called when the selection changes.

Remarks

This interface is implemented by a client of namespace control (CLSID_NameSpaceTreeControl) to be advised of namespace control events so that the client may process these events and if not, allow the namespace control to process them.

Requirements

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

See also

INameSpaceTreeControl