internetexview.h

来自「这个程序主要是利用MFC编译的一个可以定制浏览器窗口的程序」· C头文件 代码 · 共 71 行

H
71
字号
// InternetExView.h : interface of the CInternetExView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_INTERNETEXVIEW_H__3DED50B2_8093_478A_810B_EAD34A0472D7__INCLUDED_)
#define AFX_INTERNETEXVIEW_H__3DED50B2_8093_478A_810B_EAD34A0472D7__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "webbrowser2.h"

class CInternetExView : public CScrollView
{
protected: // create from serialization only
	CInternetExView();
	DECLARE_DYNCREATE(CInternetExView)

	CInternetExDoc* GetDocument();

// Attributes
public:
	CWebBrowser2	m_Browser;

// Operations
public:
	void Navigate();
	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CInternetExView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnPrepareDC(CDC* pDC, CPrintInfo* pInfo = NULL);
	protected:
	virtual void OnInitialUpdate(); // called first time after construct
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CInternetExView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CInternetExView)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in InternetExView.cpp
inline CInternetExDoc* CInternetExView::GetDocument()
   { return (CInternetExDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_INTERNETEXVIEW_H__3DED50B2_8093_478A_810B_EAD34A0472D7__INCLUDED_)

⌨️ 快捷键说明

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