www.pudn.com > Tools.rar > Tools.h


// 自动关机.h : PROJECT_NAME 应用程序的主头文件 
// 
 
#pragma once 
 
#ifndef __AFXWIN_H__ 
	#error include 'stdafx.h' before including this file for PCH 
#endif 
 
#include "resource.h"		// 主符号 
#include "ToolsDlg.h" 
 
 
// CMyApp: 
// 有关此类的实现,请参阅 自动关机.cpp 
// 
//出现不能出现窗口错误的原因: 
//没有申请全局变量 
class CToolsApp : public CWinApp 
{ 
public: 
	CToolsApp(); 
 
// 重写 
	public: 
	virtual BOOL InitInstance(); 
	virtual BOOL ExitInstance(); 
// 实现 
private: 
	CToolsDlg *dlg; 
	DECLARE_MESSAGE_MAP() 
}; 
 
extern CToolsApp theApp;