SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 4.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 8.0 - Tree Control
SftTree/NET 2.0 - Tree Control
Returns the current dark mode setting (OFF / ON / AUTO).
C
int SftMask_GetDarkMode(HWND hwndCtl);
C++
int CSftMask::GetDarkMode() const;
hwndCtl
The window handle of the masked edit control.
The return value is the dark mode setting: SFTMASK_DARKMODE_OFF, SFTMASK_DARKMODE_ON or SFTMASK_DARKMODE_AUTO.
GetDarkMode returns the configured setting, not the resolved state. Use IsDarkModeActive to determine whether dark-palette rendering is currently in effect.
See Also SetDarkMode | IsDarkModeActive | Dark Mode
