Convert CDialog to CFormView
Posted on 2006-05-16
I have joined a few dialog applications into a MDI application. I now want those dialogs to be windows inside the MDI application instead of them opening up as seperate dialogs. I'm guessing I need to change them into CFormView class instead of CDialog classes. Is this correct? If so, what is everything that I need to do. I assume I need change all the CDialog that is in the code to CFormView. I also assume I need to move everything that I have in the OnInitDialog function somewhere else but where. Once I do this, how do I go about opening and closing the window properly. Are there any other ways of making a dialog into a internal window that Might be easier.