Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21127

Find character from corresponding key in another keyboard layout.

$
0
0
I want to find which character is produced when the key which is the letter V on an English keyboard is typed on a non English keyboard

I can get the keyboard layout with…

Code:

xx = GetForegroundWindow&()
yy = GetWindowThreadProcessId&(xx, 0)
KeyBoardLayout = GetKeyboardLayout&(yy)

And I know the scan code for the key is 47

How do I find the actual character?

Viewing all articles
Browse latest Browse all 21127

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>