I recently discovered that specifying VirtualKeyCode.MENU as one of the modifier key codes for ModifiedKeyStroke() does not work when the French keyboard is selected as the Windows 10 input method. Using the utility KeyboardStateView, it appears that in this scenario VK_CONTROL+VK_ALT is being sent to the target application. When I change the Windows input method to English, this issue does not occur. I also found that specifying VirtualKeyCode.LMENU resolves this problem.
Is this VirtualKeyCode.MENU behavior with the French keyboard by design, or a bug? Thank you.