Dark mode
Dark mode
Please add dark mode for all windows, including the various debugger windows, Preferences etc..., light windows bother my eyes and I think many other users would prefer to have all parts of the windows with dark colors, thank you

Re: Dark mode
Can't be done because Win32 exes (which PureBasic creates) don't support dark mode. You can thank Microsoft.
The closest you'd get is if someone could show how to use the window magnifier API to make a window a realtime negative of itself, which I've seen other products do.
The closest you'd get is if someone could show how to use the window magnifier API to make a window a realtime negative of itself, which I've seen other products do.
Re: Dark mode
Shouldn't it be "easy" to integrate ChrisR's ObjectTheme into the editor?
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
- NicTheQuick
- Addict
- Posts: 1511
- Joined: Sun Jun 22, 2003 7:43 pm
- Location: Germany, Saarbrücken
- Contact:
Re: Dark mode
I've got Darkmode in Linux. Just switch to the "Dark Mode" color scheme in the IDE settings. And of course also enabled your preferred dark mode in Linux too.
Isn't the same possible on Windows?
Isn't the same possible on Windows?
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Re: Dark mode
Yes, it change the editor color, tool panel color etc.. but all other part of the windows(windows border, menu, toolbar etc...) remain white/lightGrey, preferences windows remain of a lighter color, same for debugger windows, until a few years ago I never had a problem with light colors, but complicit with advancing age my eyes are not what they used to be and light colors bother me, and I don't think it's impossible to make windows appear dark colored, there must be a way through windows apiNicTheQuick wrote: Tue May 20, 2025 11:07 am I've got Darkmode in Linux. Just switch to the "Dark Mode" color scheme in the IDE settings. And of course also enabled your preferred dark mode in Linux too.
Isn't the same possible on Windows?

Re: Dark mode
Yes in linux work with dark theme too.
I put this post in whishlist section saying same (may 7)...
viewtopic.php?t=86881
I put this post in whishlist section saying same (may 7)...
viewtopic.php?t=86881
If translation=Error: reply="Sorry, Im Spanish": Endif
-
- Enthusiast
- Posts: 393
- Joined: Sat Feb 12, 2022 7:15 pm
Re: Dark mode
+1 I would like to have a blue dark theme
.

Re: Dark mode
I was just about to search for Dark mode in PB Editor (for Windows) as well.
So, I would like to echo that request and give a...
+1
So, I would like to echo that request and give a...
+1
PB 6.12 x64, OS: Win 11 24H2 x64, Desktopscaling: 150%, CPU: I7 12700 H, RAM: 32 GB, GPU: Intel(R) Iris(R) Xe Graphics | NVIDIA GeForce RTX 3070, User age in 2025: 57y
"Happiness is a pet." | "Never run a changing system!"
"Happiness is a pet." | "Never run a changing system!"
Re: Dark mode
As long as I'm not forced to use dark mode.... 

Re: Dark mode
Windows Standard Controls Not Supported Dark-Mode. Only DotNet Framework. Thanks Microsoft ...
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Dark mode
Does any of this help? Microsoft article "Support Dark and Light themes in Win32 apps" from 2024...
https://learn.microsoft.com/en-us/windo ... ows-themes
It monitors the system colors and performs a basic "is this color dark" check to detect a dark theme.
This is something I've sort of done before, for example here: https://github.com/kenmo-pb/includes/bl ... STheme.pbi
Then you can apply a dark title bar, if appropriate, with DwmSetWindowAttribute(), something I've never done before.
Then... it pretty much ends there, they don't discuss ways to apply a dark theme to Win32 controls.
It seems roughly 1/3 to 1/2 of PB Gadget types support SetGadgetColor(), so a PB module could automatically adapt some gadgets, but not all, without some custom drawing it seems.
https://learn.microsoft.com/en-us/windo ... ows-themes
It monitors the system colors and performs a basic "is this color dark" check to detect a dark theme.
This is something I've sort of done before, for example here: https://github.com/kenmo-pb/includes/bl ... STheme.pbi
Then you can apply a dark title bar, if appropriate, with DwmSetWindowAttribute(), something I've never done before.
Then... it pretty much ends there, they don't discuss ways to apply a dark theme to Win32 controls.
It seems roughly 1/3 to 1/2 of PB Gadget types support SetGadgetColor(), so a PB module could automatically adapt some gadgets, but not all, without some custom drawing it seems.
Re: Dark mode
Good old Microsoft. What's the point of having a dark title bar only for Win32 apps, and not the entire window? Pointless.
Re: Dark mode
Properly supporting darkmode for Win32 is very difficult, I don't know why MS doesn't do it out of the box. The best way IMHO is to use a third party tool like https://github.com/ChGen/DarkEnforcer . This project has a DLL named DarkDll.dll which seems to do the hard job with a hook, may be it's possible to load it from a PB program and use it to add dark support.
Re: Dark mode
MS messed up big time with their GUI framework. Apple knows how to update and maintain its UI and keep it consistent across the OS and apps. MS? Nope. Every modern framework is an over-engineered inefficient mess. WinUI3 also goes nowhere and is not even usable from plain C.