windows - Ho do I go about getting and setting the input language of another application? -


Here's the problem: I have a user disabled and using a specific virtual keyboard. There is no problem in changing the languages ​​in your virtual keyboard, but it does not always change the input language (input keyboard) of the currently-active application - which is actually needed by it.

Is there any API call that I can do to query the current input keyboard of the window? More importantly, is there a way that I can set the input language of an external window?

There is "Input language" in the system WordPress. Windowsforms (.NET). This allows you to set the desired input language More details available in the MSDN input class details.

To install the language for a particular window - there is a solution for this:

  1. You should create a program to capture currently selected window and background To run it in;
  2. When the program is running, it captures the name of the program that the user is currently working on and sets the desired language;

I suggest you go to an example - this is the basics that you will need to get information about current active programs. An example of setting the input language is available in the MSDN article.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -