Forums


Comfort Software :: Forums :: Development
<< Sujet précédent | Sujet suivant >>   

How to have different keyboard layouts for different languages?

Auteur Message
Bohdan
Wed Feb 27 2013, 03:23AM
Utilisateur enregistré #860
Inscrit le: Thu Aug 11 2011, 11:51AM
Messages: 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.
Retour en haut
Comfort
Wed Feb 27 2013, 02:20PM


Inscrit le: Wed Sep 19 2007, 03:42PM
Messages: 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
Retour en haut
Bohdan
Thu Feb 28 2013, 03:28AM
Utilisateur enregistré #860
Inscrit le: Thu Aug 11 2011, 11:51AM
Messages: 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.
Retour en haut
Comfort
Fri Mar 01 2013, 02:13PM


Inscrit le: Wed Sep 19 2007, 03:42PM
Messages: 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
Retour en haut
Modérateurs: Comfort

Allez à :     Retour en haut

Syndiquer ce sujet: rss 0.92 Syndiquer ce sujet: rss 2.0 Syndiquer ce sujet: RDF
Powered by e107 Forum System