Click here to Skip to main content
Sign Up to vote bad
good
See more: MFCWPFdialog
I would like to host A MFC dialog (CDialog based)in a WPF application. Any sample programs on how to do that ?
 

I looked at
 
http://msdn.microsoft.com/en-us/library/aa970061.aspx
 

But that seems to be for a Win32 style dialog and not for a MFC dialog since there is reference to DLGPROC, how do I get DLGPROC from CDialog ?
 
I could not find any sample that shows how to do this.
 
-Shashi
Posted 24 Aug '11 - 12:53


2 solutions

I seriously doubt you can benefit from this. Didn't I already provide you detail explanation of all of the issues?
 
See MFC Dll to be integrated into WPF application[^].
 
Why would you re-post this question three times? It won't help you. Do you think there another truth? OK, you badly want to save 15 years of past MFC development by some reason. But how much more time do your want to pay for that? Anyway, I've described your roadmap, you can use it for your development. The question is: why not sticking to MFC?
 
—SA
  Permalink  
I am sorry did not mean to post it many times
 
I was getting page load error after I hit the submit button, did not know It was already submitted. Is there a way to delete multiple posts ?
 
I was trying to implement a sample following the article below, but seems like its not for MFC, I totally understand what you said yesterday. But was hoping to have a way in which I could take advantage of WPF and write the main application in WPF without having to re write massive amount of plugins written in MFC.
 

http://msdn.microsoft.com/en-us/library/aa970061.aspx[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 278
1 Mohammed Hameed 268
2 OriginalGriff 236
3 Mayur_Panchal 153
4 Dave Kreskowiak 125
0 Sergey Alexandrovich Kryukov 8,171
1 OriginalGriff 6,236
2 CPallini 3,482
3 Rohan Leuva 2,703
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 24 Aug 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid