I noticed the color used for Windows, when Dark Mode is enabled, is full black (&c00000000)
But Windows 10 and 11 uses dark grey (closest is &c11111100)
Basically the black top edge is too black, which makes the whole look unattractive.
Two questions:
Why did Xojo Inc choose &c000000 as the color? Because Windows 10 and 11 uses dark grey for all apps (reference point is Microsoft apps).
If itās drawing in the wrong colour Iād recommend a feedback case. Unfortunately (for this instance) Iām not a windows user so not sure what colour I should see.
When i go wo windows 10 personal settings on light mode i get a as white as it gets background on the windows settings page and when on dark mode itās 100% black in the windows settings page. So iām not sure where you get that windows should be using a non black (around &c11111100) value ?
I would also like to add that when the windows is disabled, the correct grey color is shown.
But for Windows 11, there is no difference in the color for activated and deactivated windows.
Please fix this. It makes Windows darkmode awful in Windows 11 (and maybe Windows 10 too - not sure about that though)
If āBlack Top Edgeā refers to the TitleBar, (āUntitledā) you realise that Xojo doesnāt control that?
The Photos app below is not using a Win32 titlebar.
(You can tell because of the OneDrive icon that is showing next to the window controls)
Itās probably using one of the many other GUI toolsets.
While Xojo uses Win32 controls, a Xojo app is going to look like a Win32 app, not a WPF or UWP based one.
āWindows 10 and 11 uses dark grey (closest is &c11111100)ā
Good luck with that.
There are lots of different ādark modesā /themes that people have used.
The fact that it is dark at all is a step forward.
If I remember correctly, to get the titlebar to color properly, I had to use an API call as the application was initializing. Iāll dig through my code and see if I can pass something along to @William_Yu .
To be clear, the Windows File Explorer and various other MS Windows apps are still Win32 based on Windows 10. However, in Windows 11 theyāve moved a lot of their apps to WinUI. The difference can be seen with their titlebar appearance as noted. They just havenāt bothered to update their Explorer theme for Win32 apps. Please file a Feedback case if you want us to do something about that ourselves, or wait for our transition to WinUI.