Forum


Comfort Software :: Forum :: Development
<< Discussione precedente | Discussione successiva >>   

How to have different keyboard layouts for different languages?

Autore Messaggio
Bohdan
Wed Feb 27 2013, 03:23AM
Utenti Registrati #860
Registrato il: Thu Aug 11 2011, 11:51AM
messaggi: 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.
Torna ad inizio pagina
Comfort
Wed Feb 27 2013, 02:20PM


Registrato il: Wed Sep 19 2007, 03:42PM
messaggi: 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
Torna ad inizio pagina
Bohdan
Thu Feb 28 2013, 03:28AM
Utenti Registrati #860
Registrato il: Thu Aug 11 2011, 11:51AM
messaggi: 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.
Torna ad inizio pagina
Comfort
Fri Mar 01 2013, 02:13PM


Registrato il: Wed Sep 19 2007, 03:42PM
messaggi: 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
Torna ad inizio pagina
Moderatori: Comfort

Salta:     Torna ad inizio pagina

Syndicate questa discussione: rss 0.92 Syndicate questa discussione: rss 2.0 Syndicate questa discussione: RDF
Powered by e107 Forum System