you must not use System Theme Color locate at HKEY_CURRENT_USER\Control Panel\Colorsghisler(Author) wrote: 2019-04-15, 13:51 UTC In principle, yes. But colors in controls can not be changed, they are part of the current theme.
as i say there are 2 API Function
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getsyscolor
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-setsyscolors
it work for all Apps but only as long as User is login. after re-login OS load default so Registry is not change !
i agree ... lot of workghisler(Author) wrote: 2019-04-15, 13:51 UTC The only alternative would be 100% owner-drawn control like the Windows apps use.
when using Ownerdraw you still can react on visual Style / Effekt and paint what you want.
Image: https://www.xbaseforum.de/download/file.php?id=3671