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

📄 ie6mdiview.h

📁 VC++实现的多页面浏览器....实现了多种功能
💻 H
字号:
// IE6mdiView.h : interface of the CIE6mdiView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_IE6MDIVIEW_H__5C1A0499_FE21_11D2_8E66_00805F254148__INCLUDED_)
#define AFX_IE6MDIVIEW_H__5C1A0499_FE21_11D2_8E66_00805F254148__INCLUDED_

#include "IE6mdiDoc.h"

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


class CIE6mdiView : public CHtmlView
{
protected: // create from serialization only
	CIE6mdiView();
	DECLARE_DYNCREATE(CIE6mdiView)

// Attributes
public:
	CIE6mdiDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CIE6mdiView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL
	void OnTitleChange(LPCTSTR lpszText);
	void OnDocumentComplete(LPCTSTR lpszUrl);
	void OnBeforeNavigate2(LPCTSTR lpszURL, DWORD nFlags,
		LPCTSTR lpszTargetFrameName, CByteArray& baPostedData,
		LPCTSTR lpszHeaders, BOOL* pbCancel);
	void OnNewWindow2( LPDISPATCH* ppDisp, BOOL* Cancel );

// Implementation

public:
	void SetPopupType(int p);
	int m_iPopupWindow;
	int m_iNoPosition; // 1 if the view still not has a position in the url list...
	POSITION m_pos; // position in the URL list
	int m_iActivated; // 1 if view activated... (to update the address bar ONLY when activated)
	int LookingURL; // to remain if the view is still downloading (for the animated logo)
	virtual ~CIE6mdiView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif


// Generated message map functions
protected:
	//{{AFX_MSG(CIE6mdiView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPrint();
	afx_msg void OnGoBack();
	afx_msg void OnGoForward();
	afx_msg void OnGoStartPage();
	afx_msg void OnViewStop();
	afx_msg void OnViewRefresh();
	afx_msg void OnFileOpen();
	afx_msg void OnDestroy();
	afx_msg void OnKillAll();
	afx_msg void OnPaint();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnEditCopy();
	afx_msg void OnEditPaste();
	afx_msg void OnEditSelectall();
	afx_msg void OnWindowNopopupwindow();
	afx_msg void OnViewFontsLargest();
	afx_msg void OnViewFontsLarge();
	afx_msg void OnViewFontsMedium();
	afx_msg void OnViewFontsSmall();
	afx_msg void OnViewFontsSmallest();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

#ifndef _DEBUG  // debug version in IE6mdiView.cpp
inline CIE6mdiDoc* CIE6mdiView::GetDocument()
   { return (CIE6mdiDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_IE6MDIVIEW_H__5C1A0499_FE21_11D2_8E66_00805F254148__INCLUDED_)

⌨️ 快捷键说明

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