SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - 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 SftButtonHighContrastConstants |
| VB | Mode = object.HighContrastMode As SftButtonHighContrastConstants |
| C#.NET | SftButtonHighContrastConstants Mode = object.HighContrastMode; |
| VC++ | enum SftButtonHighContrastConstants Mode = object->HighContrastMode; enum SftButtonHighContrastConstants Mode = object->GetHighContrastMode(); |
| C | HRESULT object->get_HighContrastMode(enum SftButtonHighContrastConstants* Mode); |
Put
| VB.NET | object.HighContrastMode = Mode As SftButtonHighContrastConstants |
| VB | object.HighContrastMode = Mode As SftButtonHighContrastConstants |
| C#.NET | SftButtonHighContrastConstants object.HighContrastMode = Mode; |
| VC++ | enum SftButtonHighContrastConstants object->HighContrastMode = Mode; void object->PutHighContrastMode(enum SftButtonHighContrastConstants Mode); |
| C | HRESULT object->put_HighContrastMode(enum SftButtonHighContrastConstants Mode); |
object
Mode
Defines the high contrast setting (off, on, or following the Windows setting).
| Name | Value | Description |
|---|---|---|
| highContrastSftButtonOff | 0 | Ignore the Windows High Contrast setting and render normally. |
| highContrastSftButtonOn | 1 | Always use the system palette. |
| highContrastSftButtonAuto | 2 | Follow the Windows High Contrast setting (the default). |
The HighContrastMode property defines the high contrast setting (off, on, or following the Windows setting).
When set to highContrastSftButtonAuto, 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 SftButton Object | Object Hierarchy | High Contrast
