資源簡介
Exe.zip

代碼片段和文件信息
//?CGExe.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CGExe.h“
#include?“MainFrm.h“
#include?“CGExeDoc.h“
#include?“CGExeView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCGExeApp
BEGIN_MESSAGE_MAP(CCGExeApp?CWinApp)
//{{AFX_MSG_MAP(CCGExeApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?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
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CCGExeApp?construction
CCGExeApp::CCGExeApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCGExeApp?object
CCGExeApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCGExeApp?initialization
BOOL?CCGExeApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)
//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CCGExeDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CCGExeView));
AddDocTemplate(pDocTemplate);
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);
//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return?TRUE;
}
/////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-12-09?23:19??CGExe\
?????文件???????28380??2018-02-28?15:26??CGExe\CGExe.aps
?????文件????????2257??2018-03-22?17:18??CGExe\CGExe.clw
?????文件????????4191??2018-02-28?15:25??CGExe\CGExe.cpp
?????文件????????5043??2018-03-22?17:18??CGExe\CGExe.dsp
?????文件?????????516??2018-02-28?15:33??CGExe\CGExe.dsw
?????文件????????1345??2018-02-28?15:25??CGExe\CGExe.h
?????文件??????107520??2018-12-09?23:19??CGExe\CGExe.ncb
?????文件??????272896??2018-12-09?23:19??CGExe\CGExe.opt
?????文件????????2343??2018-12-03?18:07??CGExe\CGExe.plg
?????文件???????10536??2018-02-28?15:25??CGExe\CGExe.rc
?????文件????????1722??2018-02-28?15:25??CGExe\CGExeDoc.cpp
?????文件????????1464??2018-02-28?15:25??CGExe\CGExeDoc.h
?????文件????????7654??2018-12-03?18:07??CGExe\CGExeView.cpp
?????文件????????2403??2018-03-23?22:40??CGExe\CGExeView.h
?????文件?????????838??2018-03-15?16:51??CGExe\ChnCities.cpp
?????文件?????????743??2018-03-15?16:45??CGExe\ChnCities.h
?????文件????????2016??2018-03-01?16:09??CGExe\DDALine.cpp
?????文件?????????645??2018-02-28?21:07??CGExe\DDALine.h
?????目錄???????????0??2018-12-03?18:07??CGExe\Debug\
?????文件??????151621??2018-12-03?18:07??CGExe\Debug\CGExe.exe
?????文件??????416236??2018-12-03?18:07??CGExe\Debug\CGExe.ilk
?????文件???????22992??2018-03-23?22:40??CGExe\Debug\CGExe.obj
?????文件?????5498596??2018-02-28?16:03??CGExe\Debug\CGExe.pch
?????文件??????566272??2018-12-03?18:07??CGExe\Debug\CGExe.pdb
?????文件????????7244??2018-02-28?16:03??CGExe\Debug\CGExe.res
?????文件???????14400??2018-02-28?16:03??CGExe\Debug\CGExeDoc.obj
?????文件???????72211??2018-12-03?18:07??CGExe\Debug\CGExeView.obj
?????文件???????30294??2018-03-16?14:40??CGExe\Debug\ChnCities.obj
?????文件????????8963??2018-03-06?18:20??CGExe\Debug\DDALine.obj
?????文件???????19650??2018-02-28?16:03??CGExe\Debug\MainFrm.obj
............此處省略20個文件信息
評論
共有 條評論