Home > database > Input the data window, pb is there a way to get the state of the system input method?
Input the data window, pb is there a way to get the state of the system input method?
Time:10-14
Problems, such as the wubi input, if to spell a word of four letters, lost four, found that spelt wrong, press the backspace key, then can know im four letters are backspace away? Because I the backspace key is a triggering event, if use the backspace key when the input method in the input, this kind of situation need to be excluded, must make a judgment,
CodePudding user response:
Estimate is more difficult to achieve, use the keyboard hook can catch, but content need your judgment, if using different input method, the content of the input is not necessarily the same, suggest don't realize, especially the backspace key to trigger events, can look for ways to achieve