0

(C#, Windows Form, .NET Compact Framework 3.5, Windows CE 6.0)

How to Change InputLanguage in .NET CF?

I want to change laguguage of UserControl keyboard.

help
  • 87
  • 1
  • 6
  • 2
    You can change current culture at run time like System.Threading.Thread.CurrentThread.CurrentUICulture = new CultureInfo("he-IL"); – Mehul Patel Dec 21 '16 at 08:25
  • @MD's System.Threading.Thread.CurrentThread.CurrentUICulture can't setting at .NET CF 3.5.. – help Dec 21 '16 at 09:05
  • What do you mean by "UserControl keyboard"? The software keyboard that is shown when you click in a textbox? – josef Dec 22 '16 at 07:33
  • AFAIK the input language can not be changed for Windows Mobile (5, 6.x) devices. The software keyboard and the GUI are tied to the firmware build for the device. If you need to type foreign languages into C# textboxes you need a special software keyboard (see SPB software for example) and a full encoded truetype font (for example a copy of desktop arialms_unicode, see usage at http://www.hjgode.de/wp/2011/04/06/mobile-development-a-simple-unicode-character-map/). – josef Dec 22 '16 at 08:36
  • @help you have to check which languages your CE6 image supports. If there is no support for your language you have to create an ad hoc image. If instead there is support for your language and you need to set it just as a one time configuration, you can do it from the input panel GUI. – salvolds Dec 26 '16 at 11:22
  • @salvolds Two language are supported in my device. there are English and German. When I click GUI buttons, English characters are written on a textbox by Virtual-Key code. I want to write German characters on the textbox when clicking same GUI buttons. How can I change language setting? – help Dec 28 '16 at 00:32

1 Answers1

0

You can go to "Control panel"->"Regional settings" and set the input language.

See here.

This works if you have a persistent registry and if your GUI doesn't need to supprt multiple languages.

Hope this helps

salvolds
  • 201
  • 2
  • 14
  • Thank you. I have two language in Input tab of "Regional and Langague Setting". I change default input language and reset. but there is no any change.. – help Dec 29 '16 at 00:47
  • did you check if after the reboot the new language set was already there? – salvolds Dec 29 '16 at 07:38
  • Yes, but only english language was written by keybd_event. – help Jan 02 '17 at 02:13