Solved

Wizard as main window of application

Posted on 2000-02-15
5
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Drag & Drop Location 2 112
Excel Use VBA to get user's Mac Address for their computer 5 344
Hibernate methods 2 83
Window placement 17 95
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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

696 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