views:

23

answers:

0

With ActivateKeyboardLayout I am able to change keyboard language to some of the layouts given by GetKeyboardLayoutList. There is one problem though, I can't choose the actual keyboard, only the language. The keyboard I get is simply what the user chose previously for that language. So if I have English US (HKL=0x04090409) and US Dvorak (HKL=0xF0020409) I can't choose the keyboard with ActivateKeyboardLayout. If I had another language I would be able to choose between English and that language, but not the keyboard if the language is English. The question is how to choose the keyboard as well?