HeaderPane
Main
Hide

SftButton/DLL 3.0 - Button Control

Share Link
Print

IsHighContrastActive

Return TRUE if the button is currently rendering using the system high-contrast palette.

C

BOOL SftButton_IsHighContrastActive(HWND hwndCtl);

C++

BOOL CSftButton::IsHighContrastActive() const;

Parameters

hwndCtl

The window handle of the button control.

Return Value

TRUE if high-contrast rendering is in effect, FALSE otherwise.

Comments

The effective state reflects the combination of the button's SetHighContrastMode setting and, in AUTO mode, the Windows High Contrast setting.

See Also SetHighContrastMode | GetHighContrastMode | High Contrast


Last Updated 05/09/2026 - (email)
© 2026 Softel vdm, Inc.