SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Return TRUE if the button is currently rendering with a dark palette.
C
BOOL SftButton_IsDarkModeActive(HWND hwndCtl);
C++
BOOL CSftButton::IsDarkModeActive() const;
hwndCtl
The window handle of the button control.
TRUE if dark mode is currently in effect, FALSE otherwise.
IsDarkModeActive returns the resolved state, not the requested setting. When SetDarkMode(SFTBUTTON_DARKMODE_AUTO) has been called, the return value reflects the current Windows "Choose your mode" setting. When set to ON or OFF, the return value matches that setting regardless of the Windows preference.
SFTBUTTONN_DARKMODE_CHANGED is sent to the parent window each time the effective state flips (AUTO mode only).
See Also SetDarkMode | GetDarkMode | Dark Mode
