Foros


Comfort Software :: Foros :: Development
<< Tema anterior | Tema siguiente >>   

How to have different keyboard layouts for different languages?

Autor Mensaje
Bohdan
Wed Feb 27 2013, 03:23AM
Miembro registrado #860
Unido: Thu Aug 11 2011, 11:51AM
Mensajes: 4
Hi, I noticed that Windows pre-installed On-Screen Keyboard changes keyboard layout when I change language. For example, when changing from English to Danish language, I get additional button between left Shift and Z buttons (button with < and > signs). How can this be achived using Comfort OSK? Is it somehow possible to add this button with < and > signs to my keyboard layout (what hex code should I use)?

Thanks.
Volver arriba
Comfort
Wed Feb 27 2013, 02:20PM


Unido: Wed Sep 19 2007, 03:42PM
Mensajes: 568
This is key with hexcode E2. You can simply add this key to your keyboard. Some other languages also use this key.

Have a nice day
Volver arriba
Bohdan
Thu Feb 28 2013, 03:28AM
Miembro registrado #860
Unido: Thu Aug 11 2011, 11:51AM
Mensajes: 4
Thanks for the reply, I managed to add this button to my keyboard. But I'm mostly interested in having different layouts for different languages, like in Windows OSK. Meaning that once user switches from English to Danish OSK gets notified and shows the layout specific to Danish language, with different set of keys.
Volver arriba
Comfort
Fri Mar 01 2013, 02:13PM


Unido: Wed Sep 19 2007, 03:42PM
Mensajes: 568
You can check current language with GetKeyboardLayout(0)
and change the keyboard: http://www.comfort-software.com/keyboard/help/activatekbprg.htm

Have a nice day
Volver arriba
Moderadores: Comfort

Saltar:     Volver arriba

Sindicalizar este hilo: rss 0.92 Sindicalizar este hilo: rss 2.0 Sindicalizar este hilo: RDF
Powered by e107 Forum System