⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dialogweb.cpp

📁 网络游戏魔域源代码 测试可以完整变异
💻 CPP
字号:
// DialogWeb.cpp : implementation file
//

#include "stdafx.h"
#include "Game.h"
#include "DialogWeb.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDialogWeb dialog


CDialogWeb::CDialogWeb(CWnd* pParent /*=NULL*/)
	: CDialog(CDialogWeb::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDialogWeb)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CDialogWeb::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDialogWeb)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDialogWeb, CDialog)
	//{{AFX_MSG_MAP(CDialogWeb)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDialogWeb message handlers

void CDialogWeb::OnOK() 
{
	// TODO: Add extra validation here
	return;
	CDialog::OnOK();
}

void CDialogWeb::OnCancel() 
{
	// TODO: Add extra cleanup here
	return;
	CDialog::OnCancel();
}

BOOL CDialogWeb::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	CRect rect ;
	this->GetWindowRect(rect);
	m_objWeb.Create( NULL,
					 WS_CHILD | WS_VISIBLE,
					 CRect( 0, 0, rect.Width(), rect.Height()),
					 this,
					 100 ) ;

	COleVariant varEmpty;

	m_objWeb.Navigate( "zf.91.com", &varEmpty, &varEmpty,
						&varEmpty, &varEmpty);	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -