exe3.cpp

来自「vc中的DLL是个好东东」· C++ 代码 · 共 51 行

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

#include "stdafx.h"
#include "EXE3.h"
#include "EXE3Dlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CEXE3App

BEGIN_MESSAGE_MAP(CEXE3App, CWinApp)
	//{{AFX_MSG_MAP(CEXE3App)
	//}}AFX_MSG
	ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CEXE3App construction

CEXE3App::CEXE3App()
{
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CEXE3App object

CEXE3App theApp;

/////////////////////////////////////////////////////////////////////////////
// CEXE3App initialization

BOOL CEXE3App::InitInstance()
{
#ifdef _AFXDLL
	Enable3dControls();			// Call this when using MFC in a shared DLL
#else
	Enable3dControlsStatic();	// Call this when linking to MFC statically
#endif

	CEXE3Dlg dlg;
	m_pMainWnd = &dlg;
	dlg.DoModal();
	return FALSE;
}

⌨️ 快捷键说明

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