Change session and keyboard language programmatically
It it possible to change the session language and keyboard language programmatically for current user via Windows API after the user has logged on? Changing some registry settings and logging off/rebooting is not a solution for me. I know that ActivateKeyboardLayout can be used to adjust keyboard but only works for the calling process. Thanks, Radu
July 21st, 2010 5:43pm

not sure what language you program in, but take a look here: http://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx the input parameters include the relevant settings
Free Windows Admin Tool Kit Click here and download it now
July 21st, 2010 6:05pm

I don;t believe that you can change the language after the user has logged in, as it requires logging out and back in to change the display. I believe that you can change the keyboard layout for an application with a call to ActivateKeyboardLayout, http://msdn.microsoft.com/en-us/library/ms645530(VS.85).aspx -- Mike Burr
July 21st, 2010 6:34pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics