Programmatically change keyboard layout

Hi,
I had seen a similar question in the archives folder
but no reply to it. I hope someone does reply to my
query.
I want to switch the system keyboard layout in NT from
my application. To do this I call the function
‘LoadKeyboardLayout’ followed by
‘ActivateKeyboardLayout’. But this changes the layout
only for the current thread i.e. my process and not
for the entire system.
Could someone please help me solve this problem.

Thanks in advance.
Best Regards,
Vanita


Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Look at ctrl2cap at www.sysinternals.com. I don’t believe, by the way,
that remote terminal sessions are affected, only local (physical)
sessions.


James Antognini
IBM Watson Research


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com