You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for DesktopWindowXamlSource.Initialize states that the WindowId of the HWND of the parent window can be retrieved through Microsoft.UI.Input.InputNonClientSource.GetForWindowId.
This is incorrect because it returns an InputNonClientSource instance and actually takes a WindowId as a parameter.
bpulliam
added
documentation
An issue with existing documentation or a request for documenation of a new topic
and removed
bug
Something isn't working
needs-triage
Issue needs to be triaged by the area owners
labels
Jan 5, 2024
Describe the bug
The documentation for DesktopWindowXamlSource.Initialize states that the WindowId of the HWND of the parent window can be retrieved through Microsoft.UI.Input.InputNonClientSource.GetForWindowId.
This is incorrect because it returns an InputNonClientSource instance and actually takes a WindowId as a parameter.
Steps to reproduce the bug
Expected behavior
Possibly refer to GetWindowIdFromWindow (C++) and/or Win32Interop.GetWindowIdFromWindow (C#). These are the means of converting a HWND to a WindowId.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.4.3: 1.4.231115000
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: