Values for the nHighContrastMode field on SFTBUTTON_CONTROL and for SetHighContrastMode / GetHighContrastMode.
| SFTBUTTON_HIGHCONTRAST_AUTO (2) | Follow the Windows High Contrast accessibility setting. The control re-renders when the setting flips and sends SFTBUTTONN_HIGHCONTRAST_CHANGED to its parent. Default. |
| SFTBUTTON_HIGHCONTRAST_ON (1) | Always render using the system palette regardless of the Windows setting. |
| SFTBUTTON_HIGHCONTRAST_OFF (0) | Ignore the Windows High Contrast setting. Not recommended in shipping applications. |
When high contrast is active, caller-supplied color overrides are ignored and the system palette wins. Themes also fall back to the system "Button" / "Toolbar" / "Combobox" classes so the user's HC theme renders unchanged.
See Also SetHighContrastMode | GetHighContrastMode | IsHighContrastActive | High Contrast | SFTBUTTON_DARKMODE