tags:

views:

1533

answers:

2

I'm searching an example of an activex that contain a WPF control.

I'm able to see the control during registration of activex in the test activex container but when I instantiate it i cannot see WPF but what is coded inside OnDraw.

Any hint or example?

+2  A: 

check out the msdn article on Hosting Windows Presentation Foundation Content in a Win32 Application (http://msdn.microsoft.com/en-us/library/ms744829.aspx)

atVelu
A: 

Did you ever get your answer. DO you know where I can find source code and a project that has WPF hosted in an MFC active X control? How do you add system reference to an active x control? I tried the regular ay but it did not allow me to add.