資源簡介
用vc6.0打開

代碼片段和文件信息
//?CTest3.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CTest3.h“
#include?“CTest3Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCTest3App
BEGIN_MESSAGE_MAP(CCTest3App?CWinApp)
//{{AFX_MSG_MAP(CCTest3App)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CCTest3App?construction
CCTest3App::CCTest3App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCTest3App?object
CCTest3App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCTest3App?initialization
BOOL?CCTest3App::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
// ULONG_PTR?m_gdiplusToken;
// Gdiplus::GdiplusStartupInput?gdiplusStartupInput;
// Gdiplus::GdiplusStartup(&m_gdiplusToken?&gdiplusStartupInput?NULL);
GdiplusStartupInput?gdiplusStartupInput;
ULONG_PTR?gdiplusToken;
GdiplusStartup(&gdiplusToken?&gdiplusStartupInput?NULL);
CCTest3Dlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????20560??2013-12-10?10:29??儀表\CTest3.aps
?????文件???????1246??2013-12-10?14:03??儀表\CTest3.clw
?????文件???????2361??2011-06-03?10:20??儀表\CTest3.cpp
?????文件???????4342??2011-06-02?15:36??儀表\CTest3.dsp
?????文件????????537??2011-06-02?14:30??儀表\CTest3.dsw
?????文件???????1328??2011-06-03?10:19??儀表\CTest3.h
?????文件??????82944??2013-12-10?14:03??儀表\CTest3.ncb
?????文件??????59904??2013-12-10?14:03??儀表\CTest3.opt
?????文件????????246??2013-12-10?11:35??儀表\CTest3.plg
?????文件???????5237??2011-06-02?16:51??儀表\CTest3.rc
?????文件???????4276??2011-06-03?10:20??儀表\CTest3Dlg.cpp
?????文件???????1376??2011-06-03?10:16??儀表\CTest3Dlg.h
?????文件????5587968??2013-12-10?11:23??儀表\Debug\CTest3.bsc
?????文件?????147502??2013-12-10?11:23??儀表\Debug\CTest3.exe
?????文件?????382380??2013-12-10?11:23??儀表\Debug\CTest3.ilk
?????文件??????14626??2013-12-10?11:18??儀表\Debug\CTest3.obj
?????文件????8275380??2013-12-10?11:18??儀表\Debug\CTest3.pch
?????文件?????549888??2013-12-10?11:23??儀表\Debug\CTest3.pdb
?????文件???????2516??2013-12-10?11:18??儀表\Debug\CTest3.res
?????文件??????????0??2013-12-10?11:18??儀表\Debug\CTest3.sbr
?????文件??????24332??2013-12-10?11:18??儀表\Debug\CTest3Dlg.obj
?????文件??????????0??2013-12-10?11:18??儀表\Debug\CTest3Dlg.sbr
?????文件?????154137??2013-12-10?11:23??儀表\Debug\DialControl.obj
?????文件??????????0??2013-12-10?11:23??儀表\Debug\DialControl.sbr
?????文件?????133377??2013-12-10?11:18??儀表\Debug\StdAfx.obj
?????文件????1632309??2013-12-10?11:18??儀表\Debug\StdAfx.sbr
?????文件?????279552??2013-12-10?11:36??儀表\Debug\vc60.idb
?????文件?????462848??2013-12-10?11:23??儀表\Debug\vc60.pdb
?????文件??????25145??2013-12-10?11:23??儀表\DialControl.cpp
?????文件???????4354??2011-06-02?15:16??儀表\DialControl.h
............此處省略46個文件信息
評論
共有 條評論