Click here to Skip to main content
15,885,278 members
Articles / Desktop Programming / MFC

Wizard2000 - Wizard 97 Property Sheets

Rate me:
Please Sign up or sign in to vote.
4.56/5 (3 votes)
9 Mar 2000CPOL 110.2K   1.8K   24  
Implements an application whose main window is a Wizard 97 based property sheet.
// Wizard97PropertyPage.cpp : implementation file
//

#include "stdafx.h"
#include "resource.h"
#include "Wizard97PropertyPage.h"

#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif

IMPLEMENT_DYNCREATE(CWizard97PropertyPage1, CPropertyPageEx)
IMPLEMENT_DYNCREATE(CWizard97PropertyPage2, CPropertyPageEx)
IMPLEMENT_DYNCREATE(CWizard97PropertyPage3, CPropertyPageEx)


/////////////////////////////////////////////////////////////////////////////
// CWizard97PropertyPage1 property page

CWizard97PropertyPage1::CWizard97PropertyPage1() : CPropertyPageEx(CWizard97PropertyPage1::IDD)
{
	//{{AFX_DATA_INIT(CWizard97PropertyPage1)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	//First Welcome Page having only WaterMark
	m_psp.dwFlags |= PSP_HIDEHEADER;
}

CWizard97PropertyPage1::~CWizard97PropertyPage1()
{
}

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


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


/////////////////////////////////////////////////////////////////////////////
// CWizard97PropertyPage2 property page

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

CWizard97PropertyPage2::~CWizard97PropertyPage2()
{
}

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


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


/////////////////////////////////////////////////////////////////////////////
// CWizard97PropertyPage3 property page

CWizard97PropertyPage3::CWizard97PropertyPage3() : CPropertyPageEx(CWizard97PropertyPage3::IDD)
{
	//{{AFX_DATA_INIT(CWizard97PropertyPage3)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	m_psp.dwFlags &= ~(PSH_HASHELP);
}

CWizard97PropertyPage3::~CWizard97PropertyPage3()
{
}

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


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


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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
India India
1993 started with Computers

BE(Computer Science) and MS (Software Systems)

Industry Experience: 10 Years

C, C++, VC++(MFC), .NET, C#, MTS, Queuing, ASP.NET, AJAX, Java, J2EE, SunOne, JMS

Banking, Insurance & Pension,Health Care

Comments and Discussions