Click here to Skip to main content
15,891,621 members
Articles / Desktop Programming / MFC

A Simple Generic Wizard

Rate me:
Please Sign up or sign in to vote.
4.50/5 (6 votes)
12 May 20033 min read 66.8K   892   26  
A custom AppWizard application to create simple CTreePropSheet-based wizards.
// WizDlg2.cpp : implementation file
//

#include "stdafx.h"
#include "$$root$$.h"
#include "WizDlg2.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CWizDlg2 property page

IMPLEMENT_DYNCREATE(CWizDlg2, CPropertyPage)

CWizDlg2::CWizDlg2() : CPropertyPage(CWizDlg2::IDD)
{
	//{{AFX_DATA_INIT(CWizDlg2)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}

CWizDlg2::~CWizDlg2()
{
}

void CWizDlg2::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CWizDlg2)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CWizDlg2, CPropertyPage)
	//{{AFX_MSG_MAP(CWizDlg2)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CWizDlg2 message handlers

BOOL CWizDlg2::OnKillActive() 
{
	// TODO: Add your specialized code here and/or call the base class
	
	return CPropertyPage::OnKillActive();
}

BOOL CWizDlg2::OnSetActive() 
{
	// TODO: Add your specialized code here and/or call the base class
	
	return CPropertyPage::OnSetActive();
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Delphi
United States United States
Carlos Buelna works in the automotive industry.

Comments and Discussions