Thread View: microsoft.public.win32.programmer.international
2 messages
2 total messages
Started by Jaromír Drozd
Wed, 12 Sep 2001 12:37
Changing the DEFAULT keyboard layout
Author: Jaromír Drozd
Date: Wed, 12 Sep 2001 12:37
Date: Wed, 12 Sep 2001 12:37
18 lines
1786 bytes
1786 bytes
Hi, is there any way how to change the default keyboard programatically (in Windows NT)? I would like to write an application, which could change the default keyboard layout according to user's settings (stored in ini file). The program will be started after the user logged in and I cannot restart the system. I simply need to do the same as when you change the default keyboard in the Control Panel. I know how to change the keyboard layout for the calling thread (using ActivateKeyboardLayout function), but I need to do so for the entire system. In Win32 Help I found, that in Win95 the ActivateKeyboardLayout function changes 'sets the input language for the current thread' while in WinNT 'for the entire system', but it seems to be confusing. Thanks Jaromir
Re: Changing the DEFAULT keyboard layout
Author: Michael (michka) Kaplan
Date: Wed, 12 Sep 2001 15:35
Date: Wed, 12 Sep 2001 15:35
33 lines
2305 bytes
2305 bytes
The only way to really do this is the methods thst script the control panel settings, used in unattended setup. You can find these methods documented in the resource kit.... -- MichKa Michael Kaplan (principal developer of the MSLU) Trigeminal Software, Inc. -- http://www.trigeminal.com/ the book -- http://www.i18nWithVB.com/ "Jarom�r Drozd" <xdroj03@vse.cz> wrote in message news:3B9F571C.3CCCF3CC@vse.cz... > Hi, > is there any way how to change the default keyboard programatically (in > Windows NT)? > I would like to write an application, which could change the default > keyboard layout according to user's settings (stored in ini file). The > program will be started after the user logged in and I cannot restart > the system. > I simply need to do the same as when you change the default keyboard in > the Control Panel. > I know how to change the keyboard layout for the calling thread (using > ActivateKeyboardLayout function), but I need to do so for the entire > system. > In Win32 Help I found, that in Win95 the ActivateKeyboardLayout function > changes 'sets the input language for the current thread' while in WinNT > 'for the entire system', but it seems to be confusing. > Thanks > > Jaromir >
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads