dotnet / dotnet/winforms

Does WinForms react to Dark Mode settings changes in SettingsApp of Windows (WM_SETTINGCHANGE message (lParam pointing to string "ImmersiveColorSet"))?

Open
#13,935 12 comments 0 reactions 1 assignee Claimed by @KlausLoeffelmann View on GitHub
area-DarkMode
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

> Does WinForms now react to Dark Mode settings changes in SettingsApp of Windows (WM_SETTINGCHANGE message (lParam pointing to string "ImmersiveColorSet")) and redraws all control to new applied Theme?

Because the other issue is now locked I create a new issue about it. People use software like [Windows-Auto-Night-Mode](https://github.com/AutoDarkMode/Windows-Auto-Night-Mode) to change the theme depending of time of the day and I want to know if WinForms detect this changed theme in .NET10 or not.

_Originally posted by @MagicAndre1981 in [#13805](https://github.com/dotnet/winforms/issues/13805#issuecomment-3225136472)_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.