資源簡(jiǎn)介
我們自己寫的瀏覽器源代碼
代碼片段和文件信息
//?MyBroswer.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MyBroswer.h“
#include?“MyBroswerDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMyBroswerApp
BEGIN_MESSAGE_MAP(CMyBroswerApp?CWinApp)
//{{AFX_MSG_MAP(CMyBroswerApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMyBroswerApp?construction
CMyBroswerApp::CMyBroswerApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMyBroswerApp?object
CMyBroswerApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMyBroswerApp?initialization
BOOL?CMyBroswerApp::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
CMyBroswerDlg?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í)間???名稱
-----------?---------??----------?-----??----
?????文件??????37748??2011-09-20?13:59??MyBroswer\MyBroswer.aps
?????文件????????923??2011-09-17?09:51??MyBroswer\MyBroswer.clw
?????文件???????2111??2011-09-17?19:18??MyBroswer\MyBroswer.cpp
?????文件???????4679??2009-09-20?15:27??MyBroswer\MyBroswer.dsp
?????文件????????585??2009-09-20?15:27??MyBroswer\MyBroswer.dsw
?????文件???????1357??2009-09-20?15:08??MyBroswer\MyBroswer.h
?????文件???18598912??2011-10-21?10:41??MyBroswer\MyBroswer.ncb
?????文件??????54784??2011-09-17?09:56??MyBroswer\MyBroswer.opt
?????文件???????2011??2011-09-17?09:56??MyBroswer\MyBroswer.plg
?????文件???????5279??2011-09-20?13:59??MyBroswer\MyBroswer.rc
?????文件????????882??2011-10-21?10:37??MyBroswer\MyBroswer.sln
????..A..H.?????35840??2011-10-21?10:41??MyBroswer\MyBroswer.suo
?????文件???????7749??2011-10-21?10:37??MyBroswer\MyBroswer.vcproj
?????文件???????1427??2011-10-21?10:41??MyBroswer\MyBroswer.vcproj.PC-200911152216.Administrator.user
?????文件???????1078??2009-09-20?15:08??MyBroswer\MyBroswerbak.ico
?????文件???????4407??2011-10-21?10:36??MyBroswer\MyBroswerDlg.cpp
?????文件???????2788??2011-10-20?16:06??MyBroswer\MyBroswerDlg.h
?????文件???????3633??2009-09-20?15:08??MyBroswer\ReadMe.txt
?????文件????????733??2009-09-20?15:21??MyBroswer\resource.h
?????文件????????211??2009-09-20?15:08??MyBroswer\StdAfx.cpp
?????文件???????1054??2009-09-20?15:08??MyBroswer\StdAfx.h
?????文件??????11299??2009-09-20?15:21??MyBroswer\webbrowser2.cpp
?????文件???????3765??2011-09-17?18:48??MyBroswer\webbrowser2.h
?????文件???????1406??2011-09-15?13:39??MyBroswer\res\MyBroswer.ico
?????文件????????401??2011-09-17?09:55??MyBroswer\res\MyBroswer.rc2
?????文件???????9400??2011-09-17?17:04??MyBroswer\Release\BuildLog.htm
?????文件?????????67??2011-09-17?17:04??MyBroswer\Release\mt.dep
?????文件?????294912??2011-09-17?17:04??MyBroswer\Release\MyBroswer.exe
?????文件????????145??2011-09-17?17:04??MyBroswer\Release\MyBroswer.exe.intermediate.manifest
?????文件??????14923??2011-09-17?17:04??MyBroswer\Release\MyBroswer.obj
............此處省略29個(gè)文件信息
評(píng)論
共有 條評(píng)論