資源簡(jiǎn)介
IP地址修改器源碼 C++ MFC 編寫

代碼片段和文件信息
//?IPAddrSet.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“IPAddrSet.h“
#include?“IPAddrSetDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CIPAddrSetApp
BEGIN_MESSAGE_MAP(CIPAddrSetApp?CWinApp)
//{{AFX_MSG_MAP(CIPAddrSetApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CIPAddrSetApp?construction
CIPAddrSetApp::CIPAddrSetApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CIPAddrSetApp?object
CIPAddrSetApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CIPAddrSetApp?initialization
BOOL?CIPAddrSetApp::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
CIPAddrSetDlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-09-27?11:33??IPAddrSet\
?????文件????????2924??2013-09-28?04:10??IPAddrSet\IPAddrSet.clw
?????文件????????2105??2013-09-27?11:33??IPAddrSet\IPAddrSet.cpp
?????文件????????4338??2013-09-28?04:13??IPAddrSet\IPAddrSet.dsp
?????文件?????????524??2013-09-27?11:33??IPAddrSet\IPAddrSet.dsw
?????文件????????1357??2013-09-27?11:33??IPAddrSet\IPAddrSet.h
?????文件???????58368??2013-09-28?04:13??IPAddrSet\IPAddrSet.ncb
?????文件???????49664??2013-09-28?04:13??IPAddrSet\IPAddrSet.opt
?????文件?????????252??2013-09-28?04:11??IPAddrSet\IPAddrSet.plg
?????文件????????7894??2013-09-28?04:03??IPAddrSet\IPAddrSet.rc
?????文件????????8546??2013-09-28?03:36??IPAddrSet\IPAddrSetDlg.cpp
?????文件????????1798??2013-09-28?02:46??IPAddrSet\IPAddrSetDlg.h
?????文件????????3633??2013-09-27?11:33??IPAddrSet\ReadMe.txt
?????目錄???????????0??2013-09-27?11:33??IPAddrSet\res\
?????文件????????1743??2013-09-28?04:11??IPAddrSet\Resource.h
?????文件????????3262??2013-09-28?03:33??IPAddrSet\res\1.ico
?????文件???????10134??2013-09-28?04:03??IPAddrSet\res\icon2.ico
?????文件???????10134??2009-10-29?19:03??IPAddrSet\res\IPAddrSet.ico
?????文件?????????401??2013-09-27?11:33??IPAddrSet\res\IPAddrSet.rc2
?????文件????????1078??2013-09-27?11:33??IPAddrSet\res\IPAddrSet1.ico
?????文件?????????211??2013-09-27?11:33??IPAddrSet\StdAfx.cpp
?????文件????????1052??2013-09-28?02:24??IPAddrSet\StdAfx.h
- 上一篇:BOOTH算法C++實(shí)現(xiàn)
- 下一篇:層次聚類算法C++
評(píng)論
共有 條評(píng)論