Weird issues with WinUI3 and ALT key: so many beeps!

Like any good developer, I want my WinUI3 app to have keyboard control over the menus. And once again, the terrible fit-and-finish of the WinUI3 framework is causing problems. This time: every time the user presses the ALT key (like they are supposed to!) Windows decides to make the program BEEP! This is reported as this bug 4379 and 9074 . Some useless comments are here . And somehow, the code I…