-
大小: 74KB文件類型: .zip金幣: 2下載: 0 次發布日期: 2021-06-08
- 語言: C/C++
- 標簽: webbrowser??
資源簡介
對webbrowser和ie編程

代碼片段和文件信息
//?Browser_Control.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Browser_Control.h“
#include?“Browser_ControlDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBrowser_ControlApp
BEGIN_MESSAGE_MAP(CBrowser_ControlApp?CWinApp)
//{{AFX_MSG_MAP(CBrowser_ControlApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CBrowser_ControlApp?construction
CBrowser_ControlApp::CBrowser_ControlApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBrowser_ControlApp?object
CBrowser_ControlApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBrowser_ControlApp?initialization
BOOL?CBrowser_ControlApp::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
CBrowser_ControlDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????25368??2008-10-04?14:14??Browser_Control.aps
?????文件????????1807??2008-10-04?14:10??Browser_Control.clw
?????文件????????2189??2008-09-22?16:17??Browser_Control.cpp
?????文件????????4799??2008-09-22?16:29??Browser_Control.dsp
?????文件?????????599??2008-09-22?16:29??Browser_Control.dsw
?????文件????????1423??2008-09-22?16:17??Browser_Control.h
?????文件???????50176??2008-10-04?14:14??Browser_Control.ncb
?????文件???????50688??2008-10-04?14:14??Browser_Control.opt
?????文件????????7341??2008-10-04?00:50??Browser_Control.rc
?????文件????????7312??2008-10-04?14:14??Browser_ControlDlg.cpp
?????文件????????2000??2008-09-23?17:45??Browser_ControlDlg.h
?????目錄???????????0??2008-10-04?14:14??Debug\
?????文件???????41984??2003-11-24?00:05??Progress.avi
?????文件????????3741??2008-09-22?16:17??ReadMe.txt
?????目錄???????????0??2008-10-04?14:11??Release\
?????文件???????28672??2008-10-04?14:09??Release\Browser_Control.exe
?????文件????????6364??2008-10-04?14:09??Release\Browser_Control.res
?????文件???????41984??2003-11-24?00:05??Release\Progress.avi
?????目錄???????????0??2008-10-04?14:11??res\
?????文件????????3638??2004-01-11?01:15??res\Browser_Control.ico
?????文件?????????407??2008-09-22?16:17??res\Browser_Control.rc2
?????文件???????41984??2003-11-24?00:05??res\Progress.avi
?????文件????????6144??2008-09-22?16:44??res\Thumbs.db
?????文件????????1244??2008-10-04?00:50??resource.h
?????文件?????????217??2008-09-22?16:17??StdAfx.cpp
?????文件????????1054??2008-09-22?16:17??StdAfx.h
?????文件???????11299??2008-09-22?16:28??webbrowser2.cpp
?????文件????????3759??2008-09-22?16:28??webbrowser2.h
- 上一篇:最近項目小車自動循跡路線原碼,C++編寫
- 下一篇:c++實現的簡單xm
l解析器
評論
共有 條評論