Return the button's current dark mode setting.
C
int SftButton_GetDarkMode(HWND hwndCtl);
C++
int CSftButton::GetDarkMode() const;
hwndCtl
The window handle of the button control.
One of the SFTBUTTON_DARKMODE_* constants: SFTBUTTON_DARKMODE_OFF (default), SFTBUTTON_DARKMODE_ON or SFTBUTTON_DARKMODE_AUTO.
GetDarkMode returns the setting the application requested; IsDarkModeActive returns the currently effective state (TRUE if the button is rendering with a dark palette right now).
See Also SetDarkMode | IsDarkModeActive | Dark Mode