I use hwndhost to embed a WPF - window. When the allowstransparency of the embedded window is "true", it will not be displayed under windows7

陶陶 张 1 Reputation point
2020-07-24T02:04:22.887+00:00

I use hwndhost to embed a window. When the allowstransparency of the window is "true", it will not be displayed under windows7. If the theme of windows7 is set to windows basic, the embedded window can be realized, but the display position will not be updated. The full screen situation is correct. Has any partner encountered it?

13562-base.jpg

like this pic

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,783 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.