On Windows 10, test a number of input method, baidu, QQ, Microsoft pinyin input method, can be done in accordance with the specification, my program can be run correctly,
But using sogou input method is a very odd situation,
Using spy++ news monitoring can be found,
This input method WM_IME_STARTCOMPOSITION is, after you determine the word choice and END in the same frame,
For word choice, and not directly to backspace or switch input method, makes the selected entry disappear, there would be no END,
But sogou input method of all the input control, can guarantee the right to block the function keys, so I'm curious, Windows standard input control is how to block the function keys?
CodePudding user response:
Is dealt with, we use GLFW is not new, there is a bug, led to the direct input case being spread to the program that caused the error, fix the bug in January this year,,,,Or explain the bug causes, in the direct input, all key events will pass a parameter VK_PROCESSKEY said, so you need to the state of the event to a filter,