hey guys..I have a hard time hiding the modal dialog box...to tell u exactly..what i am doing is..I am trying a design a UI for my own application in MFC..its kinda setup assistant.. In the 1st dialog box i have NEXT button so when I click that it has to hide the 1st dialog box and move to the 2nd dialog box..where i have some controls in 2nd dialog box.can any on help me...
+1
A:
I have never tried to hide a Modal dialog...not sure how it can be done.
Anyway, it seems to me you don't need to hide the dialog but destroy the first one and create the second one. You can use EndDialog to terminate a modal dialog.
But MFC has its own mechanism to create your own wizard, have a look at this class CPropertySheet. I am sure you can find thousand of examples, this is one.
Hope it helps.
Javier De Pedro
2009-12-01 07:14:13
You should definitely use CPropertySheets
djeidot
2009-12-02 15:57:32