HeaderPane
Main
Hide
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 09/26/2026 - (email)
© 2026 Softel vdm, Inc.