chaoskcuf

Code Snippet

<Window x:Class="WpfApplication1.Window1"
xmlns="
http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="
http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:wf="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
Title="Window1" Height="300" Width="300" Loaded="Window_Loaded">
<Grid>
<WindowsFormsHost>
<wf:WebBrowser x:Name="browserInput" />
</WindowsFormsHost>
</Grid>
</Window>


Code Snippet

private void Window_Loaded(object sender, RoutedEventArgs e)
{
browserInput.DocumentText = "<HTML><BODY></BODY></HTML>";

(browserInput.Document.DomDocument as IHTMLDocument2).designMode = "On";
}

I want to make simple WYSWYG html editor on .NET Framework 3.0

But in Vista I cannot write other language (except English) in editor.

(in XP it works well)

What's the problem ):

I have 2 OS

XP : .NET Framework 3.0

Vista : .NET Framework 3.5



Re: Internet Explorer Web Development Webbrowser designMode Keyboard Input issue

Yi-Lun Luo - MSFT

This is an IE developing problem, not a WPF problem. Moving from WPF forums.






Re: Internet Explorer Web Development Webbrowser designMode Keyboard Input issue

chaoskcuf

I found all "WindowsFormsHost" Child has Keyboard Input issue

Is this a bug