HeaderPane
Main
Hide

SftButton/DLL 3.0 - Button Control

Share Link
Print

GetHighContrastMode

Return the button's current high contrast setting.

C

int SftButton_GetHighContrastMode(HWND hwndCtl);

C++

int CSftButton::GetHighContrastMode() const;

Parameters

hwndCtl

The window handle of the button control.

Return Value

One of SFTBUTTON_HIGHCONTRAST_AUTO, SFTBUTTON_HIGHCONTRAST_ON or SFTBUTTON_HIGHCONTRAST_OFF.

Comments

GetHighContrastMode returns the setting the application requested. IsHighContrastActive returns the currently effective state.

See Also SetHighContrastMode | IsHighContrastActive | High Contrast


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