-
January 21st, 2015, 02:56 AM
#1
MFC application changes keyboard language.
Hey..
I am working on an application which uses MFC components , the problem when it starts it changes the keyboard language to English US automatically . Any idea Why is that ? and How to prevent it from changing the language ?
Thanks..
-
January 21st, 2015, 04:28 AM
#2
Re: MFC application changes keyboard language.
 Originally Posted by Artista
Hey..
I am working on an application which uses MFC components , the problem when it starts it changes the keyboard language to English US automatically . Any idea Why is that ? and How to prevent it from changing the language ?
Thanks..
I don't know any MFC class/component that can change keyboard layout. But some of Win32 API function can.
Does your application call some of the Keyboard Input Functions? For instance the ActivateKeyboardLayout?
Victor Nijegorodov
-
January 22nd, 2015, 02:13 PM
#3
Re: MFC application changes keyboard language.
 Originally Posted by VictorN
I don't know any MFC class/component that can change keyboard layout. But some of Win32 API function can.
Does your application call some of the Keyboard Input Functions? For instance the ActivateKeyboardLayout?
Thanks Victor .
I did solve the problem using getkeyboardlayoutlist() then ActivateKeyboardLayout().
I just check every language in my languagebar then checks the app language and re-change it.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|