exam1_1_11.cpp

来自「深入剖析Visual C++编程技术及应用实例」· C++ 代码 · 共 62 行

CPP
62
字号
// Exam1_1_11.cpp : Defines the class behaviors for the application.
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1998 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.

#include "stdafx.h"
#include "Exam1_1_11.h"
#include "LHdrDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CExam1_1_11App

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

/////////////////////////////////////////////////////////////////////////////
// CExam1_1_11App construction

CExam1_1_11App::CExam1_1_11App()
{
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CExam1_1_11App object

CExam1_1_11App theApp;

/////////////////////////////////////////////////////////////////////////////
// CExam1_1_11App initialization

BOOL CExam1_1_11App::InitInstance()
{
	AfxEnableControlContainer();

	// Standard initialization
	CExam1_1_11Dlg dlg;
	m_pMainWnd = &dlg;

	// Bring up modal dialog
	dlg.DoModal();

	// Since the dialog has been closed, return FALSE so that we exit the
	//  application, rather than start the application's message pump.
	return FALSE;
}

⌨️ 快捷键说明

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