資源簡介
mfc download

代碼片段和文件信息
//Download?by?http://www.NewXing.com
//?Down.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Down.h“
#include?“DownDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDownApp
BEGIN_MESSAGE_MAP(CDownApp?CWinApp)
//{{AFX_MSG_MAP(CDownApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CDownApp?construction
CDownApp::CDownApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDownApp?object
CDownApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDownApp?initialization
BOOL?CDownApp::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
CDownDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
????.......?????21668??2009-11-30?15:07??www.NewXing.com\Down.aps
????.......??????1501??2009-11-30?15:07??www.NewXing.com\Down.clw
?????文件???????2073??2011-04-01?21:58??www.NewXing.com\Down.cpp
?????文件???????8898??2011-04-01?21:58??www.NewXing.com\DownDlg.cpp
?????文件????????244??2011-04-01?21:58??www.NewXing.com\StdAfx.cpp
????.......??????4124??2009-09-18?00:16??www.NewXing.com\Down.dsp
????.......???????533??2009-09-17?14:55??www.NewXing.com\Down.dsw
????.......????114793??2009-11-04?20:39??www.NewXing.com\Debug\Down.exe
?????文件???????1340??2011-04-01?21:58??www.NewXing.com\Down.h
?????文件???????1384??2011-04-01?21:58??www.NewXing.com\DownDlg.h
?????文件???????1134??2011-04-01?21:58??www.NewXing.com\Resource.h
?????文件???????1092??2011-04-01?21:58??www.NewXing.com\StdAfx.h
????.......??????1078??2009-09-17?14:55??www.NewXing.com\res\Down.ico
????.......?????48640??2009-11-30?15:07??www.NewXing.com\Down.opt
????.......???????242??2009-11-30?15:07??www.NewXing.com\Down.plg
????.......??????6039??2009-09-18?00:16??www.NewXing.com\Down.rc
????.......???????396??2009-09-17?14:55??www.NewXing.com\res\Down.rc2
????.......??????3543??2009-09-17?14:55??www.NewXing.com\ReadMe.txt
?????目錄??????????0??2011-04-01?21:58??www.NewXing.com\Debug
?????目錄??????????0??2009-11-04?20:41??www.NewXing.com\res
-----------?---------??----------?-----??----
???????????????218722????????????????????20
- 上一篇:c語言代碼循跡智能小車+proteus仿真
- 下一篇:c++實現的mips匯編器
評論
共有 條評論