Returns whether high contrast rendering is currently in effect.
C
BOOL SftMask_IsHighContrastActive(HWND hwndCtl);
C++
BOOL CSftMask::IsHighContrastActive() const;
hwndCtl
The window handle of the masked edit control.
The return value is TRUE if high contrast rendering is currently in effect (after resolving SFTMASK_HIGHCONTRAST_AUTO against the Windows setting).
While high contrast is active, dark mode rendering is suppressed - high contrast takes precedence (see High Contrast).
See Also SetHighContrastMode | GetHighContrastMode | IsDarkModeActive | High Contrast