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

📄 ieview.h

📁 波子浏览器
💻 H
字号:
#if !defined(AFX_IEVIEW_H__BE3CCF3C_E1E6_4C47_8A73_E4E508CB7610__INCLUDED_)
#define AFX_IEVIEW_H__BE3CCF3C_E1E6_4C47_8A73_E4E508CB7610__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// IEView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CIEView html view

class CIEView : public CHtmlView
{
protected:
	CIEView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CIEView)

// html Data
public:
	//{{AFX_DATA(CIEView)
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	void EnableFrameButton();
	CString GetTitle();
	void SetUrlAddress(LPCTSTR lpszUrl);
	void ReadUrlDocument(LPCTSTR lpszUrl);
	BOOL SetTabItemText(LPCTSTR lpszItem);
	CString m_strTitle;	
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CIEView)
	public:
	virtual void OnInitialUpdate();
	virtual void OnTitleChange(LPCTSTR lpszText);
	virtual void OnBeforeNavigate2(LPCTSTR lpszURL, DWORD nFlags, LPCTSTR lpszTargetFrameName, CByteArray& baPostedData, LPCTSTR lpszHeaders, BOOL* pbCancel);
	virtual void OnNavigateComplete2(LPCTSTR strURL);
	virtual void OnNewWindow2(LPDISPATCH* ppDisp, BOOL* Cancel);
	virtual void OnDocumentComplete(LPCTSTR lpszURL);
	virtual void OnCommandStateChange(long nCommand, BOOL bEnable);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	//}}AFX_VIRTUAL

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

	// Generated message map functions
	//{{AFX_MSG(CIEView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()		
protected:
	BOOL	m_bActivedWnd;	
	BOOL	m_bEnableGoBack;
	BOOL	m_bEnableGoForward;
};

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

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

#endif // !defined(AFX_IEVIEW_H__BE3CCF3C_E1E6_4C47_8A73_E4E508CB7610__INCLUDED_)

⌨️ 快捷键说明

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