Return the button's current high contrast setting.
C
int SftButton_GetHighContrastMode(HWND hwndCtl);
C++
int CSftButton::GetHighContrastMode() const;
hwndCtl
The window handle of the button control.
One of SFTBUTTON_HIGHCONTRAST_AUTO, SFTBUTTON_HIGHCONTRAST_ON or SFTBUTTON_HIGHCONTRAST_OFF.
GetHighContrastMode returns the setting the application requested. IsHighContrastActive returns the currently effective state.
See Also SetHighContrastMode | IsHighContrastActive | High Contrast