www.pudn.com > SaveScreen.rar > ScrSaver.cpp, change:2000-09-16,size:920b


// ScrSaver.cpp : Defines the class behaviors for the application. 
// 
 
#include "stdafx.h" 
#include "ScrSaver.h" 
#include "SettingDialog.h" 
 
#ifdef _DEBUG 
#define new DEBUG_NEW 
#undef THIS_FILE 
static char THIS_FILE[] = __FILE__; 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
// CScrSaverApp 
 
BEGIN_MESSAGE_MAP(CScrSaverApp, CScreenSaverApp) 
	//{{AFX_MSG_MAP(CScrSaverApp) 
	//}}AFX_MSG 
END_MESSAGE_MAP() 
 
///////////////////////////////////////////////////////////////////////////// 
// CScrSaverApp construction 
 
CScrSaverApp::CScrSaverApp() 
{ 
	SetScreenSaverTemplate(RUNTIME_CLASS(CScreenSaverWnd)); 
} 
 
///////////////////////////////////////////////////////////////////////////// 
// The one and only CScrSaverApp object 
 
CScrSaverApp theApp; 
 
void CScrSaverApp::ShowConfigureDialog(CWnd* pParentWnd) 
{ 
	CSettingDialog dlg; 
	dlg.DoModal(); 
}