Using CefSharp 75.1.142, I have developed a C# Winforms application. It has a SplitContainer splitContainer1
with the top panel having a ComboBox combobox1
and with the bottom panel having ChromiumWebBrowser
control.
I have Windows 7 with English and Greek keyboard layouts (default is English). During initialization, I change the app's input language to Greek and add ChromiumWebBrowser control like this:
InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(new System.Globalization.CultureInfo("el-gr"));
ChromiumWebBrowser browser = new ChromiumWebBrowser(comboBox1.SelectedValue.ToString());
this.splitContainer1.Panel2.Controls.Add(browser);
However, while input language has changed for the application, the browser control continues to have the default input for my system, which is English. If I click on the combobox, language bar of Windows 7 show Greek language, when I click on browser control, language bar shows English language.
How can I change input language for browser control, too?