Solved

Wizard as main window of application

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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

728 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