Code to set Default Keyboard Layout
Posted on 2000-05-03
I need to programmatically set the default keyboard layout. I've looked around a little at the LoadKeyboardLayout, ActivateKeyboardLayout, GetKeyboardLayoutList APIs but can't figure out how to use them to accomplish what I want. Basically, I want to show the user a combobox with possible countries, and based on their selection, set the default keyboard layout. I would like a small code example if possible.