Perchik71 / Creation-Kit-Platform-Extended

A collection of modifications, enhancements, and reverse engineered resources for Creation Kit by Bethesda.
GNU General Public License v3.0
68 stars 9 forks source link

Request: Use dark titlebars if using dark theme #70

Open seanfagan opened 2 weeks ago

seanfagan commented 2 weeks ago

I'm on Win 10, working on Skyrim SE, using CKPE V0.4 Build 625. My Windows system theme is set to dark.

If I have CKPE set to dark mode, the titlebars on all windows are still white. image

I think it would look much nicer if the titlebars adjusted to also be dark, like other Windows apps. image

... but no clue how difficult that is. Thanks for all your hard work!

Perchik71 commented 2 weeks ago

This changes in the registry, as DWM does not provide for a color change for each desktop application. However, this is acceptable for applications written in the Windows App and hosted in the Microsoft store. This is partially fixed in Win11. Сan fix this if draw everything yourself by removing window styles, but unfortunately, main menu disappears. Because it needs a caption style. I will put this as an improvement and a call for help, since it has lost its value for me, I use Win11, and numerous attempts to fix in Win10 have not been successful.

Edit: As an idea, go through the entire mainmenu and create several popupmenus. Remove the WS_CAPTION style, use DWM to return the non-client area of the window and draw buttons and so on yourself.