windowsformhost

WPF/Windows Forms Host on Windows7

I have a crash that's happening on Windows7 but not on XP, and was hoping for some insight. The application has an OpenGL Windows Form control used to display 16 bit grayscale images. This control works well under XP, and has been wrapped with a WindowsFormHost to run under WPF. When I start the application in Windows 7, the applicati...

DirectX and WPF

Hi, I am trying to develop an application where the UI part is designed by WPF and the engine is developed using C++. I am trying to render a scene using DirectX in native code by getting the window's handle from WPF using WindowsFormsHost method. Though i do not get any error, no image renders on the screen. As far as the handle is c...

Problem with navigation in a WPF application

I'm developing a WPF application where I have to navigate between different pages hosted in a Frame. I need also to keep alive the content of a page once created. In that way I can restore that content when I navigate again to it. I use the following handler to manage navigation: private object content = null; private void NavigateHand...

OpacityMask not working with WPF WindowsFormsHost?

I'm trying to put a rounded border on a control which is hosted through a WindowsFormHost object. It seems like no matter what I set for OpacityMask, it has no effect on the rendering. Is there something I've missed? Here is the XAML code I am using. The child control is added at run-time. I've tried various combinations of masks, n...