O
Ofry
Hi,
I'm writing a c# application and I would like to know every time the input
language changes.
I have this code:
InputLanguage myCurrentLanguage = InputLanguage.CurrentInputLanguage;
String lang = myCurrentLanguage.Culture.TwoLetterISOLanguageName;
That gives me the current language, but I want to be notyfied whenever it
changes and not check every few seconds.
I've found a windows message WM_INPUTLANGUAGECHANGE, where do I need to hook
to in order to get this message?
Is there a better way? maybe another event I'm not aware of
Thanks,
Ofry
I'm writing a c# application and I would like to know every time the input
language changes.
I have this code:
InputLanguage myCurrentLanguage = InputLanguage.CurrentInputLanguage;
String lang = myCurrentLanguage.Culture.TwoLetterISOLanguageName;
That gives me the current language, but I want to be notyfied whenever it
changes and not check every few seconds.
I've found a windows message WM_INPUTLANGUAGECHANGE, where do I need to hook
to in order to get this message?
Is there a better way? maybe another event I'm not aware of
Thanks,
Ofry