A WPF form that I launch from a WinForms window shows up with all textboxes as uneditable when it's launched as a modeless dialog. It works well when it's a modal window. I'm still able to type spaces or paste text. But regular typing doesn't work. I'm using 3.5 with SP1. Would anybody know how to resolve this?
相关问题
- Carriage Return (ASCII chr 13) is missing from tex
- VNC control for WPF application
- How to make a .svc file write to asp.net Trace.axd
- WPF Binding from System.Windows.SystemParameters.P
- XAML: Applying styles to nested controls
You need to make sure to call ElementHost.EnableModelessKeyboardInterop for your WPF Window. This hooks up the WPF message loop to allow keyboard input.