www.pudn.com > EX_11.rar > MainSheet.cpp
// MainSheet.cpp : implementation file
//
#include "stdafx.h"
#include "EX_11.h"
#include "MainSheet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMainSheet
IMPLEMENT_DYNAMIC(CMainSheet, CPropertySheet)
CMainSheet::CMainSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
// AddPage(&page1);
// AddPage(&page2);
// AddPage(&page3);
}
CMainSheet::CMainSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
// AddPage(&page1);
// AddPage(&page2);
// AddPage(&page3);
}
CMainSheet::~CMainSheet()
{
}
BEGIN_MESSAGE_MAP(CMainSheet, CPropertySheet)
//{{AFX_MSG_MAP(CMainSheet)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMainSheet message handlers
int CMainSheet::DoModal()
{
// TODO: Add your specialized code here and/or call the base class
return CPropertySheet::DoModal();
}