ToUnicodeEx - Skip Keyboard Buffer
Analogous to my question on how to translate a System.Windows.Forms.Keys
set to a System.Char
I'm trying to convert a Virtual-Key Code to a character with ToUnicodeEx
ToUnicodeEx
returing -1
), an other times one of them is already开发者_Python百科 stored there.
But I want to skip that buffer and my program should not affect/be affected from it. Is there a way for what I need?
(So: If my virtual-key code translates to a dead-key, it should not remain in the buffer, and if there is a dead-key in the buffer, it should not change my current function call)
精彩评论