Closed SilentEngineer1999 closed 1 year ago
You may want to familiarize yourself with WinUI3 before proceeding if you're new to Windows application development. In general I would ask questions on Stack Overflow or reach out on the WinAppSDK repo.
I've put together a little sample that shows you how to use Win2D's CanvasSwapChainPanel to display the capture into a UI built with WinUI3. You can find that here: https://github.com/robmikh/WinUI3Win2DSwapChain
Sorry, forgot to answer your question about using pages vs the window. If your application only has a single view, you can put your UI into the window directly. But for a more complex app, you may choose to place just a Frame control in your window and navigate to different pages. This is similar to the default configuration of a UWP XAML app.
Thanks this helps.
One last question is there any place where i can learn this any online course or books or anything that covers XAML, Winui3, DirectX, Windows APIs?
Unfortunately, I don't know of a great resource that covers the intersection of all of those topics. My recommendation would be to look at individual sources. Here are some to get you started:
For the Windows.Graphics.Capture API questions, feel free to ask questions here: Windows.UI.Composition-Win32-Samples. You should also feel free to ask questions in one of my capture-related repos.
i am new to windows apps i am working on a screen recorder and i need some help. im using winui3.
So i figured out how to get frames from this project `public sealed partial class MainWindow : Window {
Up till here everything is working how do i display the frames on my ui page? This is my UI `
` Please help me im barely understanding what im doing.