INameSpaceTreeControlEvents interface
Exposes methods for handling INameSpaceTreeControl events.
Members
The INameSpaceTreeControlEvents interface inherits from the IUnknown interface. INameSpaceTreeControlEvents also has these types of members:
Methods
The INameSpaceTreeControlEvents interface has these methods.
| Method | Description |
|---|---|
| OnAfterContextMenu |
Called after a context menu is displayed. |
| OnAfterExpand |
Called after an IShellItem is expanded. |
| OnBeforeContextMenu |
Called before a context menu is displayed; allows client to add additional menu entries. |
| OnBeforeExpand |
Called before an IShellItem is expanded. |
| OnBeforeItemDelete |
Called before an IShellItem and all of its children are deleted. |
| OnBeforeStateImageChange |
Called before the state icon of the given IShellItem is changed. |
| OnBeginLabelEdit |
Called before the IShellItem goes into edit mode. |
| OnEndLabelEdit |
Called after the IShellItem leaves edit mode. |
| OnGetToolTip |
Enables you to provide a tooltip. |
| OnItemAdded |
Called after an IShellItem has been added. |
| OnItemClick |
Called when the user clicks a button on the mouse. |
| OnItemDeleted |
Called after an IShellItem has been deleted. |
| OnItemStateChanged | |
| OnItemStateChanging |
Called before the state of an item changes. |
| OnKeyboardInput |
Called when the user presses a key on the keyboard. |
| OnPropertyItemCommit |
Not implemented. |
| 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
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
See also