HeaderPane
Main
Hide

SftMask/DLL 7.0 - Masked Edit Control

Share Link
Print

GetHighContrastMode

Returns the current high contrast setting (OFF / ON / AUTO).

C

int SftMask_GetHighContrastMode(HWND hwndCtl);

C++

int CSftMask::GetHighContrastMode() const;

Parameters

hwndCtl

The window handle of the masked edit control.

Returns

The return value is the high contrast setting: SFTMASK_HIGHCONTRAST_OFF, SFTMASK_HIGHCONTRAST_ON or SFTMASK_HIGHCONTRAST_AUTO.

Comments

GetHighContrastMode returns the configured setting, not the resolved state. Use IsHighContrastActive to determine whether high contrast rendering is currently in effect.

See Also SetHighContrastMode | IsHighContrastActive | High Contrast


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