Skip to content

Conversation

@AnuthaDev
Copy link
Owner

Hello frands, I gib smol code

Summary

Make the caption controls "dim out" when window loses focus

References

https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-ncactivate
microsoft#5881
microsoft#3025

PR Checklist

Detailed Description of the Pull Request / Additional comments

Added a handler for WM_NCACTIVATE to propagate the focus change to the Titlebar Control.

The unfocused color is set to ForegroundBaseLow

Validation Steps Performed

None
Typed code on phone, PC is too weak to compile the whole project.

Also, My combined knowledge of c++ and xaml is still miniscule, so please have mercy😅😅

@AnuthaDev AnuthaDev closed this Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants