mitko
November 24th, 2002, 02:43 PM
Ron, I there is a problem with the Keyboard action.
I get different results when sending keys to the foreground application and to a given target.
If I target notepad for example and put "*" (asterisk) in the text I get it OK in notepad. But when I target it to the foreground application I get "8" (which is the same key). It's the same with other keys too: "(", ")", "*" and so on. I suppose you somehow get the scan code of a given character. I also have problems sending text that is not in the default ASCII interval. I'm talking about cyrilic characters which have ASCII codes greater than 127.
Do you have an idea how this can be fixed?
Can you also explain a little about the way you get a scan code or virtual key code of a given character? Is there such an API function? I'm asking this because I decided to use SendInput in my KeySelector plugin and have problems with getting the VK_.. of some characters
I get different results when sending keys to the foreground application and to a given target.
If I target notepad for example and put "*" (asterisk) in the text I get it OK in notepad. But when I target it to the foreground application I get "8" (which is the same key). It's the same with other keys too: "(", ")", "*" and so on. I suppose you somehow get the scan code of a given character. I also have problems sending text that is not in the default ASCII interval. I'm talking about cyrilic characters which have ASCII codes greater than 127.
Do you have an idea how this can be fixed?
Can you also explain a little about the way you get a scan code or virtual key code of a given character? Is there such an API function? I'm asking this because I decided to use SendInput in my KeySelector plugin and have problems with getting the VK_.. of some characters