AppEvents::OnSelectionChange event
The OnSelectionChange event occurs when the result item selection for a view is changed.
Syntax
Application.OnSelectionChange( _
ByVal View As View, _
ByVal NewNodes As Nodes _
)
Parameters
-
View
-
The View object whose result item selection has changed.
-
NewNodes
-
The Nodes collection consisting of each Node object that is selected.
Return value
This event does not return a value.
Examples
Private Sub g_AppMMC_OnSelectionChange( _
ByVal View As MMC20.View, _
ByVal NewNodes As MMC20.Nodes)
MsgBox ("OnSelectionChange Event: " & _
NewNodes.Count & " items now selected.")
End Sub
Requirements
Minimum supported client |
Windows Vista |
Minimum supported server |
Windows Server 2008 |
Header |
|
IDL |
|
DLL |
|
CLSID |
CLSID_Application is defined as 49B2791A-B1AE-4C90-9B8E-E860BA07F889 |
IID |
DIID_AppEvents is defined as FC7A4252-78AC-4532-8C5A-563CFE138863 |