Platform SDK: Performance Monitoring

SystemMonitor.Appearance

Retrieves or sets the control's appearance to include or omit three-dimensional display effects. This is an ambient read/write property.

Public Property Appearance( ) as Integer

Remarks

This is a standard property of the Form object in Visual Basic. For more information on this property, refer to the specification of the Appearance property in Visual Basic Help and the Microsoft Visual Basic 6.0 Language Reference.

You can set this property to an integer to specify whether to use three-dimensional effects in the control.

Value Meaning
0 Paints the control without three-dimensional effects.
1 Paints the control with three-dimensional effects.

The default value is 1.

Return Values

The current control appearance value.

Example

Dim ctlItem as SystemMonitor
ctlItem.Appearance = 1

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Smonctrl.odl.

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties