frang75 / nappgui_src

SDK for building cross-platform desktop apps in ANSI-C
https://www.nappgui.com
MIT License
506 stars 50 forks source link

Issues with High Contrast themes on Windows #42

Open Hummtaro opened 1 year ago

Hummtaro commented 1 year ago

First of all thank you for your work! I really like your library. Easy API, well documented, and the statically linked size is incredible comparted to some other toolkits! So far i have only two problems.

The first: There are issues, when windows high contrast mode is used, which some people like to use and some vision-impaired people actually need to use. If apps are started when high contrast mode already activated, some controls like Edit, ListBox, TextView, TableView are not drawn at all. On the other hand, when enabling the high contrast mode after the apps are already running, the controls adapt somehow to the new colors but not fully correct. I'll attach two screenshots with some of the demo apps.

I assume it would be similar with 3th party themes, like WindowBlinds. I think as an accesibility setting at least the high contrast mode should work.

Screenshot 2023-02-24 091207

Screenshot 2023-02-24 090839

frang75 commented 1 year ago

Hi @Hummtaro! Thank you very much for use NAppGUI and the feedback. I will review this issue and correct it ASAP.