0
我想知道當前輸入語言的佈局(鍵盤佈局)在Windows操作系統上何時更改。我試圖用這個工作 -用於更改當前輸入語言的佈局名稱的Windows事件
InputLanguageManager.Current.InputLanguageChanged += Current_InputLanguageChanged;
但此事件不上來,如果我從葡萄牙語(巴西),葡萄牙語(巴西ABNT) ---->葡萄牙語(巴西改變)美國 - 國際
另一個例子是,當我從英語(美國改變)美國 ---->英語(美國)德國
你看過http://stackoverflow.com/questions/10299659/is-it-possible-to-detect-keyboard-focus-events-globally ?? – BugFinder
你能告訴我們手動改變當前輸入語言的步驟嗎? –
我使用Windows 10操作系統,並添加了以下鍵盤佈局:*語言首選項 - >選擇其中一種語言 - >單擊選項 - >添加鍵盤*。現在在您的語言選項中,當您在兩個佈局名稱(例如: - 葡萄牙語(巴西ABNT)和美國 - 國際)之間切換時,則不會引發事件* InputLanguageChanged *。 –