chapter2_4.cpp

来自「WinCE开发技巧与实例的配套源码(chapter2)」· C++ 代码 · 共 51 行

CPP
51
字号
// chapter2_4.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "chapter2_4.h"
//#include "chapter2_4Dlg.h"
#include "BackgroundWnd.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CChapter2_4App

BEGIN_MESSAGE_MAP(CChapter2_4App, CWinApp)
	//{{AFX_MSG_MAP(CChapter2_4App)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CChapter2_4App construction

CChapter2_4App::CChapter2_4App()
	: CWinApp()
{
	// TODO: add construction code here,
	// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CChapter2_4App object

CChapter2_4App theApp;

/////////////////////////////////////////////////////////////////////////////
// CChapter2_4App initialization

BOOL CChapter2_4App::InitInstance()
{
	CBackgroundWnd *pBackgroundWnd = new CBackgroundWnd();

	m_pMainWnd = pBackgroundWnd;

	return TRUE;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?