Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Unable to input text in child windows of WPF window called from winforms

$
0
0

Hi all,

I am expiriencing the following issue with a text input on WPF windows.

I have an existing winforms application. I've created a WPF dll, which has a main window called "Map". This window opens all various WPF windows (within the same dll) duing the runtime.

The problem is that i am unable to insert a text in the textBoxes that are placed in those windows.

I do call the main form "Map" from the winforms project, using the EnableModelessKeyboardInterop:

varmap=newMap(m_dbManager, nvrAdapter, m_main.m_LicModules);

ElementHost.EnableModelessKeyboardInterop(map);

map.Show();

but yet it doesn't seem to work.

Does anybody expirienced the same issue or have any ideas how to solve it?

Thank you in advance.

ElementHost

.EnableModelessKeyboardInterop(map);


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>