SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Defines the high contrast setting (off, on, or following the Windows setting).
Get
| VB.NET | Mode = object.HighContrastMode As SftTreeHighContrastConstants |
| VB | Mode = object.HighContrastMode As SftTreeHighContrastConstants |
| C#.NET | SftTreeHighContrastConstants Mode = object.HighContrastMode; |
| VC++ | enum SftTreeHighContrastConstants Mode = object->HighContrastMode; enum SftTreeHighContrastConstants Mode = object->GetHighContrastMode(); |
| C | HRESULT object->get_HighContrastMode(enum SftTreeHighContrastConstants* Mode); |
Put
| VB.NET | object.HighContrastMode = Mode As SftTreeHighContrastConstants |
| VB | object.HighContrastMode = Mode As SftTreeHighContrastConstants |
| C#.NET | SftTreeHighContrastConstants object.HighContrastMode = Mode; |
| VC++ | enum SftTreeHighContrastConstants object->HighContrastMode = Mode; void object->PutHighContrastMode(enum SftTreeHighContrastConstants Mode); |
| C | HRESULT object->put_HighContrastMode(enum SftTreeHighContrastConstants Mode); |
object
Mode
Defines the high contrast setting (off, on, or following the Windows setting).
| Name | Value | Description |
|---|---|---|
| highContrastSftTreeOff | 0 | Ignore the Windows High Contrast setting and render normally (the default). |
| highContrastSftTreeOn | 1 | Always use the system palette. |
| highContrastSftTreeAuto | 2 | Follow the Windows High Contrast setting. |
The HighContrastMode property defines the high contrast setting (off, on, or following the Windows setting).
When set to highContrastSftTreeAuto, the control follows the Windows High Contrast accessibility setting and re-renders automatically; the HighContrastChange event is raised when the effective state changes.
Use HighContrastActive to determine whether high contrast is currently active.
See Also SftTree Object | Object Hierarchy | High Contrast
