-
Notifications
You must be signed in to change notification settings - Fork 18
Fix Window Dark Mode #374
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
Fix Window Dark Mode #374
Conversation
|
Have you tried just calling |
|
Nope |
display();
SendMessage(hwnd, WM_NCACTIVATE, FALSE, 0);
SendMessage(hwnd, WM_NCACTIVATE, TRUE, 0);This works on Win11 |
|
That works on Win10 too. ShowWindow(hwnd, SW_HIDE);
ShowWindow(hwnd, SW_SHOW);Does this work on Win11? |
|
I get that in Win10 anyway. Have added |
0c535ff to
0a0d466
Compare
|
Weirdly when |
|
Can you change it to: ShowWindow(hwnd, SW_HIDE);
ShowWindow(hwnd, SW_SHOW);
display()or it's not working on Win10? |
|
Yeah flagging a redraw is nicer than a full hide/show. |


No description provided.