Solved

Wizard as main window of application

Posted on 2000-02-15
5
169 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 20 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expand to include initial dialog with two choices. 9 59
Named range not carried over 10 57
move a line in eclipse 3 60
noX challenge 17 77
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: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now