Hello,
Welcome to Microsoft Q&A!
how do we set a custom ID for Windows in this case?
AppWindow and Window handle have WindowId.
how can we get back the winrt::Microsoft::UI::Xaml::Window back from AppWindow
Win32Interop.GetWindowFromWindowId with AppWindow.Id.
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.