📄 chapter2_4.cpp
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -