The Documentation for DesktopWindowXamlSource.Initialize is Incorrect #9162
Labels
closed-Fixed
Described behavior has been fixed.
documentation
An issue with existing documentation or a request for documenation of a new topic
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: