Fix titlebar color when using backdrop in WPF Window#1122
Fix titlebar color when using backdrop in WPF Window#1122pomianowski merged 1 commit intodevelopmentfrom
Window#1122Conversation
|
FYI: @Jay-o-Way, @aquinn39 |
|
@pomianowski Awesome work here :) Quick question: Why |
I got the value (DWMWA_COLOR_NONE) from DWMWA_BORDER_COLOR here. This value appearantly hides the window border, so I thought maybe it might work for DWMWA_CAPTION_COLOR as well, which it did. 0xFFFFFFFF (DWMWA_COLOR_DEFAULT) just resets the title bar colour to the default system behaviour, which means using the accent colour if you have that option enabled - that behaviour actually is documented under DWMWA_CAPTION_COLOR. Makes me wonder if DWMWA_COLOR_NONE (0xFFFFFFFE) also works on DWMWA_TEXT_COLOR to hide the caption text (not that it's necessary in this case). |

Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
Window can have a color in custom titlebar when Show accent colors option is enabled in Windows.
Issue Number: N/A
What is the new behavior?
After enabling Mica backdrop, the titlebar color should be removed.