Forum: Win32/Win64 API (native code)
Delphi
by chukalv,
8. Jan 2007
Well, I misunderstood You and myself. :wall:
The idea to simulate the language hotkey works fine. If someone presess my registered hotkey, I`m sending the windows language hotkey to the program and the keyboard layout changes. It works fine.
But if I wan't to change the keyboard layout without the hotkey? Meaning not to change only one step forward but to change it directly to another...
Forum: Win32/Win64 API (native code)
Delphi
by chukalv,
8. Jan 2007
OK now. The part where I find the installed layouts, the default layout and how to change it, is already done. All the information is in the registry... After a login and logout, the keyboard layout changes perfect. Just how to send the hotkey for the active process? I've no clue...
Forum: Win32/Win64 API (native code)
Delphi
by chukalv,
7. Jan 2007
How to change a keyboard layout for another program? As I understood it`s not possible to do really. But I have successfully created a keyboard hook and can receive and send keyboard codes.
The question- How to change a received keyboard code to the code form another installed keyboard layout? For example, I have an "a" from the english layout('00000409') and it have to translated to "ф" from...