[This is preliminary documentation and subject to change.]
Selects the given scope pane item.
HRESULT SelectScopeItem(
HSCOPEITEM hScopeItem // Handle to a scope item
);
Use this method to reselect the currently selected node, or select the parent or child of the currently selected node.
You can have a single scope node with several different views available, such as several OCX views and the default list view. When the user selects a different view from a menu, your snap-in receives the command and should then call SelectScopeItem to reselect the node. IComponent::GetResultViewType can then return the selected view type.