www.pudn.com > VisualC6.0.rar > MyPropertySheet.cpp, change:2007-08-02,size:964b


// MyPropertySheet.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "TabDlgDemo.h" 
#include "MyPropertySheet.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CMyPropertySheet 
 
IMPLEMENT_DYNAMIC(CMyPropertySheet, CPropertySheet) 
 
 
 
CMyPropertySheet::CMyPropertySheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage) 
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage) 
{ 
	AddPage(&m_colorPage); 
	AddPage(&m_fontPage); 
 
} 
 
CMyPropertySheet::~CMyPropertySheet() 
{ 
} 
 
 
BEGIN_MESSAGE_MAP(CMyPropertySheet, CPropertySheet) 
	//{{AFX_MSG_MAP(CMyPropertySheet) 
		// NOTE - the ClassWizard will add and remove mapping macros here. 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CMyPropertySheet message handlers