Community
Participate
Working Groups
TabFolder are not styled in the dark theme. I assume windows OS supports this by now given that the rest of the widgets supports this.
Created attachment 283958 [details] Screenshot
Unfortunately Win10 doesn't have a native dark theme for TabFolder yet. I looked into possible workarounds and it seems possible to use a combination of code pieces to get reasonable dark appearance: Get rid of hardcoded light theme: SetWindowTheme(handle, "", "") Add background color support: @Override LRESULT WM_ERASEBKGND (long wParam, long lParam) { drawBackground (wParam); return LRESULT.ONE; } Draw tab items: @Override wmDrawChild() TCS_OWNERDRAWFIXED style Drawing tab items will take a bit of effort, but not too much. We already use a custom made control in our product, so unfortunately I won't be able to spend more time on this.
It seems that it will be supported by Windows in Oct2020 update, see Bug 568112
(In reply to Alexandr Miloslavskiy from comment #3) > It seems that it will be supported by Windows in Oct2020 update, see Bug > 568112 Awesome to hear!!! Thanks, looking forward to the fix. (Sorry for not being able to test your Gerrits at the moment)
Quick check: Does Win10/Win11 support this now ?
As of Win11 version 22000.527, there is still no support for dark tab in native theme package (file 'aero.msstyles'). 'DarkMode::Tab' style, which was seen in a number of Win10 previews, didn't make it into release version for some reason.
As of Win11 version 22621.1555, there is still no support for dark tab in native theme package (file 'aero.msstyles').