IssueRaiser

How to remove the flickering of WinUI3 Window on resizing

<!-- Use this section to give more context for your question or other supporting materials --> <!-- For questions related to UWP or the app models, please open an issue on the Project Reunion repository: https://github.com/microsoft/ProjectReunion --> I am new to WinUI3, I have created a sample app and when I resize it, there is a flickering in window, In WPF it was able to fix this flickering issue. but on winUI3 it is not working, is there any way to fix it. I know that The Content Rendered in the window is created by Direct Composition and all the contents are hosted as a child window in a parent window, and i usually adjust WndProc to adjust the flickering some how I was not even able to override the wndPoc like i did for wpf, is there any way to fix this flickering. Here is the screenshot of the issue: ![Animation](https://user-images.githubusercontent.com/72641365/120809186-729b0f00-c567-11eb-8c57-942f5d0e219d.gif)

Posted by selastingeorge on Jun 4, 2021, 1:33 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

github (SaaS)

How to remove the flickering of WinUI3 Window on resizing

selastingeorgeJun 4, 2021, 1:33 PM

<!-- Use this section to give more context for your question or other supporting materials --> <!-- For questions related to UWP or the app models, please open an issue on the Project Reunion repository: https://github.com/microsoft/ProjectReunion --> I am new to WinUI3, I have created a sample app and when I resize it, there is a flickering in window, In WPF it was able to fix this flickering issue. but on winUI3 it is not working, is there any way to fix it. I know that The Content Rendered in the window is created by Direct Composition and all the contents are hosted as a child window in a parent window, and i usually adjust WndProc to adjust the flickering some how I was not even able to override the wndPoc like i did for wpf, is there any way to fix this flickering. Here is the screenshot of the issue: ![Animation](https://user-images.githubusercontent.com/72641365/120809186-729b0f00-c567-11eb-8c57-942f5d0e219d.gif)

Comments (0)

No comments yet. Start the discussion.

Comment on this issue