SystemMonitor.OnCounterSelected event

Notifies you when a counter is selected.

Syntax

SystemMonitor.OnCounterSelected( _
  ByVal index As Long _
)

Parameters

index [in]

Index of the selected counter in the Counters collection object.

Return value

This event does not return a value.

Remarks

You can receive this event when

  • You set CounterItem.Selected to True
  • The user selects a counter in the Legend
  • The user double-clicks on a counter in the Legend

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
DLL
Sysmon.ocx

See also

SystemMonitor.OnCounterAdded

SystemMonitor.OnCounterDeleted