Just found this app (sorry to advertise) -> https://windowtop.info/
And it can turn ANY window into Dark Mode, even Win32 ones. How the hell? Can we do that with PureBasic?
Below is an example of how it changed Handbrake (video converter) from Normal to Dark, without restarting it.
[Edit] It seems the app is doing some sort of real-time "negative" filter on the window, because dark mode stops when WindowTop is quit.
Set dark view for any window?
Re: Set dark view for any window?
It's negative, I just checked !
http://HexaScrabble.com/
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 5.73LTS - 32 bits
!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 5.73LTS - 32 bits
Re: Set dark view for any window?
Yeah, I said that in my edit. But this site says it's just a dark filter over the window -> https://www.ghacks.net/2020/06/01/set-a ... windowtop/
Re: Set dark view for any window?
Should work like this:
Hook the window proc and call InvertRect_() or BitBlt_() if the window is redrawn.
Or overlay a transparent window and blit on that (hook free).
Hook the window proc and call InvertRect_() or BitBlt_() if the window is redrawn.
Or overlay a transparent window and blit on that (hook free).