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

some versions of windows don't have the DWMWINDOWATTRIBUTE to change the title bar colours #19

Closed
vberthiaume opened this issue Jan 17, 2024 · 3 comments

Comments

@vberthiaume
Copy link
Owner

vberthiaume commented Jan 17, 2024

microsoft/WindowsAppSDK#41

2>C:\Users\barth\Documents\git\ProPhat\Source\UI\ProPhatWindow.cpp(174,75): error C2838: 'DWMWA_CAPTION_COLOR': illegal qualified name in member declaration
2>C:\Users\barth\Documents\git\ProPhat\Source\UI\ProPhatWindow.cpp(174,75): error C2065: 'DWMWA_CAPTION_COLOR': undeclared identifier
2>C:\Users\barth\Documents\git\ProPhat\Source\UI\ProPhatWindow.cpp(175,5): error C3536: 'result': cannot be used before it is initialized
2>C:\Users\barth\Documents\git\ProPhat\Source\UI\ProPhatWindow.cpp(175,70): error C2838: 'DWMWA_USE_IMMERSIVE_DARK_MODE': illegal qualified name in member declaration
2>C:\Users\barth\Documents\git\ProPhat\Source\UI\ProPhatWindow.cpp(175,70): error C2065: 'DWMWA_USE_IMMERSIVE_DARK_MODE': undeclared identifier
@vberthiaume
Copy link
Owner Author

however on these platforms the title bar takes the accent colour of the OS theme, so maybe it's fine?
image
image

@vberthiaume
Copy link
Owner Author

looks like this is due to using win 10 files even though I'm on win 11?
image

@vberthiaume
Copy link
Owner Author

vberthiaume commented Jan 17, 2024

the visual studio installer on that laptop showed that it didn't have the windows 11 sdk installed. Installing it fixed this issue
image

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

No branches or pull requests

1 participant