?
Solved

Wizard as main window of application

Posted on 2000-02-15
5
Medium Priority
?
178 Views
Last Modified: 2013-11-20
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.
0
Comment
Question by:davev
5 Comments
 

Expert Comment

by:Subramanya
ID: 2525118
There is a seperate Dialog based application option during the creation of the new project .go through it
0
 

Author Comment

by:davev
ID: 2525454
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?
0
 

Expert Comment

by:krisp
ID: 2525609
I am interested in knowing this
0
 
LVL 2

Accepted Solution

by:
waseemanis earned 80 total points
ID: 2525958
Instead of calling the CMyAppDialog in the initinstance, you call your wizard sheet. Simple..That is if you have derived a class from CPropertySheet and added all the pages to it.why are you so inclined on changing the CDialog derivative..??

Luck,
Waseem.
0
 
LVL 1

Expert Comment

by:Sadhu
ID: 2526885
Please look at following artical

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

Sadhu
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question