|
Borland C ++ Builder FAQ
|
||
| The content | The last update: 12/12/2008 | |
|
How to change current language? The author: OlegGG AnsiString langID = IntToHex (MAKELANGID (LANG_RUSSIAN, SUBLANG_DEFAULT), 8);//Russian AnsiString langID = IntToHex (MAKELANGID (LANG_ENGLISH, SUBLANG_DEFAULT), 8);//EnglishRemaining - see Help on MAKELANGID Then we apply it: ActivateKeyboardLayout (LoadKeyboardLayout (langID.c_str (), 0), 0); |