vmag
Active Member
Hello everyone! In standard VB, I use this construction:
The functions switch the input language to Russian and English respectively.
Is it possible to implement something like this on b4j under windows?
ASP.net:
Private Declare Function ActivateKeyboardLayout Lib "user32" (ByVal HKL As Long, ByVal flags As Long) As Long
Const kb_lay_ru As Long = 68748313, kb_lay_en As Long = 67699721
Sub Rus()
Dim x As Long
' Switch to Russian language
x = ActivateKeyboardLayout&(kb_lay_ru, 0)
End Sub
Sub En()
Dim x As Long
' Switch to English
x = ActivateKeyboardLayout&(kb_lay_en, 0)
End Sub
Is it possible to implement something like this on b4j under windows?