Link to home
Start Free TrialLog in
Avatar of davev
davev

asked on

Wizard as main window of application

How do I go about using the MFC AppWizard to create a dialog application where this main window dialog is a wizard? Is it enough to change:

CMyAppDlg : public CDialog to CMyAppDlg : public CPropertySheet as well as changing CDialog to CPropertySheet in ctors and message maps? Any guidance on this or sources of sample code is much appreciated.

Thanks in advance.
Avatar of Subramanya
Subramanya

There is a seperate Dialog based application option during the creation of the new project .go through it
Avatar of davev

ASKER

I know there is a dialog based option, but the resulting code is derived from CDialog, which is not a wizard by default. So the question remains: Can I simply change all derivations from CDialog to CPropertySheet in all the generated code?
I am interested in knowing this
ASKER CERTIFIED SOLUTION
Avatar of waseemanis
waseemanis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Please look at following artical

http://journal.iftech.com/articles/9911_webb_wizard/

Sadhu