Closed tom-huntington closed 1 hour ago
ShowCursor is for Win32 cursors You can change/hide cursor for XAML UIElements with ProtectedCursor (threads like https://github.com/microsoft/WindowsAppSDK/discussions/1816, https://github.com/microsoft/WindowsAppSDK/discussions/3601, ...)
Describe the bug
I cant hide the cursor with
ShowCursor
https://devblogs.microsoft.com/oldnewthing/20091217-00
This suggests the UI thread was not used to create the window.
Steps to reproduce the bug
https://github.com/tom-huntington/ShowCursorMRE
Expected behavior
I expect some way to hide the cursor
NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
Windows version
Windows 11 (21H2): Build 22000