Question inputkeyboard languge changed

itapi

New member
Joined
May 2, 2014
Messages
1
Programming Experience
1-3
hi there.
im working on a simple program in the visual studio(windows application) and i need to know when the user is changing is keyboard language(i dont care what was the language or what it is now).


i tried this code:
C#:
  private void MainForm_InputLanguageChanged(object sender, InputLanguageChangedEventArgs e)
        {
     
        }






but its only get the language change in the form! when the form is active and focused!! but for example if i'll open google chrome and change the lang, this function wont called...


i need to get the specific windows keyboard changed.. not the form inputlanguage changed..




its very important for me im breaking my head about a week for this so plz help...


ty guys.
 
Back
Top Bottom