HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

IsHighContrastActive

Returns whether high contrast rendering is currently in effect.

C

BOOL SftMask_IsHighContrastActive(HWND hwndCtl);

C++

BOOL CSftMask::IsHighContrastActive() const;

Parameters

hwndCtl

The window handle of the masked edit control.

Returns

The return value is TRUE if high contrast rendering is currently in effect (after resolving SFTMASK_HIGHCONTRAST_AUTO against the Windows setting).

Comments

While high contrast is active, dark mode rendering is suppressed - high contrast takes precedence (see High Contrast).

See Also SetHighContrastMode | GetHighContrastMode | IsDarkModeActive | High Contrast


Last Updated 08/30/2026 - (email)
© 2026 Softel vdm, Inc.