We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Window class doesn't cache the AppWindow object, so this is showing up in our app traces
AppWindow
for an app that needs to access the actual HWND it is necessary to get the AppWindow object so that you can go from WindowID -> HWND
HWND
i would expect this to be a simple property access and just add ref the pointer it has
WinUI 3 - Windows App SDK 1.4.4: 1.4.231219000
Windows 11 (22H2): Build 22621
No response
The text was updated successfully, but these errors were encountered:
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Sorry, something went wrong.
Out of curiosity, how does this compare to using IWindowNative to get the handle? This would be WinRT.Interop.WindowNative for C#.
No branches or pull requests
Describe the bug
The Window class doesn't cache the
AppWindow
object, so this is showing up in our app tracesfor an app that needs to access the actual
HWND
it is necessary to get theAppWindow
object so that you can go from WindowID -> HWNDSteps to reproduce the bug
AppWindow
on the windowExpected behavior
i would expect this to be a simple property access and just add ref the pointer it has
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.4.4: 1.4.231219000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response
The text was updated successfully, but these errors were encountered: