Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Use dark titlebars if using dark theme #70

Open
seanfagan opened this issue Nov 4, 2024 · 1 comment
Open

Request: Use dark titlebars if using dark theme #70

seanfagan opened this issue Nov 4, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@seanfagan
Copy link

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
Copy link
Owner

Perchik71 commented Nov 4, 2024

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.

@Perchik71 Perchik71 added enhancement New feature or request help wanted Extra attention is needed labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants