htglxt.cpp

来自「用VC写的小型企业系统管理系统,有优良的界面和较强的实用价值」· C++ 代码 · 共 64 行

CPP
64
字号
// htglxt.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "htglxt.h"
#include "DMain.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CHtglxtApp

BEGIN_MESSAGE_MAP(CHtglxtApp, CWinApp)
	//{{AFX_MSG_MAP(CHtglxtApp)
	//}}AFX_MSG_MAP
	// Standard file based document commands
	ON_COMMAND(ID_FILE_NEW, CWinApp::OnFileNew)
	ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen)
	// Standard print setup command
	ON_COMMAND(ID_FILE_PRINT_SETUP, CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CHtglxtApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CHtglxtApp object

CHtglxtApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CHtglxtApp initialization

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

#ifdef _AFXDLL
	Enable3dControls();			// Call this when using MFC in a shared DLL
#else
	Enable3dControlsStatic();	// Call this when linking to MFC statically
#endif
	SetRegistryKey(_T("Local AppWizard-Generated Applications"));
	LoadStdProfileSettings();  // Load standard INI file options (including MRU)
	CDMain dlg;
	dlg.DoModal();
	return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CHtglxtApp message handlers

int CHtglxtApp::ExitInstance() 
{
	return CWinApp::ExitInstance();
}

⌨️ 快捷键说明

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