Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
113 views

I am maintaining a legacy hybrid application (Main App is WinForms, hosting WPF UserControls via ElementHost). The Problem: When opening a WPF Modal Window (Window.ShowDialog()) from the WinForms main ...
panaceya's user avatar
1 vote
0 answers
2k views

I'm trying to figure out how I can temporarily disable DPI awareness in a WPF-application to set Window Placement. Following this example I'm essentially trying to run the following from my Window's ...
ymbcKxSw's user avatar
  • 325
0 votes
1 answer
1k views

I want to host a native Win32 (Qt widget) control in a WPF window. My problem is that in case I host it in a normal WPF window, everything works fine, but when I set AllowsTransparency of the WPF ...
Tamas Karpati's user avatar
1 vote
0 answers
348 views

Hi im using the WpfInterop NuGet Plugin from this Location https://gitlab.com/MarcStan/MonoGame.Framework.WpfInterop/ I did everything the way it is in the readme file but itjust wont load in my ...
Agronaut022's user avatar
5 votes
2 answers
2k views

I'm trying to create WPF GUI application to host an already exist QT GUI application as part of the main UI. The QT application don't need to deal with mouse/keyboard input. I've tried approach ...
ricky's user avatar
  • 2,128
1 vote
1 answer
3k views

If I create an HwndSource directly, have I then also created a WPF Window that I can now access from code? If so, how can I access it? Or do I now need to somehow "add" a WPF Window to that ...
Cardinal Fang's user avatar
1 vote
2 answers
2k views

Disclaimer: This is not a duplicated post. I googled about the issue. Also read this, this and this SO questions. I tried some of those things but nothing seemed to help. Consider the following ...
Daniel Peñalba's user avatar
0 votes
0 answers
245 views

I create a winform project with a single form with 4 textboxes and a button. On button click, I perform the following: Window1 w = new Window1(); ElementHost.EnableModelessKeyboardInterop(w); w.Show(...
CodeHulk's user avatar
  • 111
2 votes
1 answer
801 views

I have an interop question about embedding WinForms controls into a WPF application and differences in the .Net framework versions. The following should show a transparent wpf control (red box) over ...
Beachwalker's user avatar
  • 7,945
1 vote
1 answer
1k views

Taking it a bit further than hosting WinForms user controls in my WPF application, I am actually hosting Delphi forms, i.e. top level windows. I am doing so through the voodoo in blog post How To Host ...
ProfK's user avatar
  • 51.4k
1 vote
0 answers
167 views

So far, I only know I must listen for WM_CLOSE, which is a request to close, and WM_DESTROY, which is when the window is actually destroyed after closing. I need to handle these because I need to ...
ProfK's user avatar
  • 51.4k
0 votes
2 answers
368 views

Well, actually I know I can communicate with the window itself, the plane GUI, through it's message pump, but let's say I want to call a COM exposed function in the Delphi DLL that produced and ...
ProfK's user avatar
  • 51.4k
8 votes
1 answer
2k views

I have used the code from this blog, as below but abridged, and I see the WinForm inside my main window, but the sample text I placed on it in a label is not visible. [System.Windows.Markup....
ProfK's user avatar
  • 51.4k