www.pudn.com > FileGuard.zip > OptPropSheet.cpp


// OptPropSheet.cpp : implementation file 
// 
 
#include "stdafx.h" 
#include "resource.h" 
#include "FileGuardApp.h" 
#include "OptPropSheet.h" 
 
#ifdef _DEBUG 
#undef THIS_FILE 
static char BASED_CODE THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// COptPropSheet 
 
IMPLEMENT_DYNAMIC(COptPropSheet, CPropertySheet) 
 
COptPropSheet::COptPropSheet(CWnd* pWndParent) 
	 : CPropertySheet(IDS_PROPSHT_CAPTION1, pWndParent) 
{ 
	m_psh.dwFlags |=PSH_NOAPPLYNOW; 
 
	AddPage(&m_Page1); 
	AddPage(&m_Page2); 
	AddPage(&m_Page3); 
} 
 
COptPropSheet::~COptPropSheet() 
{ 
	theApp.WriteProfile(); 
} 
 
 
BEGIN_MESSAGE_MAP(COptPropSheet, CPropertySheet) 
	//{{AFX_MSG_MAP(COptPropSheet) 
		// NOTE - the ClassWizard will add and remove mapping macros here. 
	//}}AFX_MSG_MAP 
END_MESSAGE_MAP() 
 
 
///////////////////////////////////////////////////////////////////////////// 
// COptPropSheet message handlers