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

📄 htmlviewer.h

📁 Windows Mobile,ppc,wince下的chm格式文件阅读器源代码
💻 H
字号:
#if !defined(AFX_HTMLVIEWER_H__3A668AF8_E0C7_4EFA_8657_8860BB145B74__INCLUDED_)
#define AFX_HTMLVIEWER_H__3A668AF8_E0C7_4EFA_8657_8860BB145B74__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CHtmlViewer dialog
#include "stHtmlDialog.h"

class CHtmlViewer : public CSTHtmlDialog
{
// Construction
public:
	CHtmlViewer(CWnd* pParent = NULL);   // standard constructor
	BOOL			SetHtmlText(CString Text);
	virtual void	OnLink(CString strHref);	
	void			SetCheck(int nID, BOOL bEnable);
	void			SetTextCheck();
	void			SaveSettings();	
	CString			m_NewCHMFile;
	CString			m_strHref;		

// Dialog Data
	//{{AFX_DATA(CHtmlViewer)
	enum { IDD = IDD_HTML_VIEWER };
	CTextBar		m_TitleCtrl;
	CString			m_Title;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CHtmlViewer)	
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support	
	//}}AFX_VIRTUAL

// Implementation
protected:	
	CCeCommandBar	m_wndCommandBar;	
	CString			m_HTMLText;	
	BOOL			m_bShrink;
	BOOL			m_bClearType;
	int				m_TextSize;	

	// Generated message map functions
	//{{AFX_MSG(CHtmlViewer)
	virtual BOOL OnInitDialog();	
	afx_msg void OnPrevPage();
	afx_msg void OnNextPage();	
	afx_msg void OnToolsFittowindow();
	afx_msg void OnToolsTextsizeLarge();
	afx_msg void OnToolsTextsizeLargest();
	afx_msg void OnToolsTextsizeMedium();
	afx_msg void OnToolsTextsizeSmall();
	afx_msg void OnToolsTextsizeSmallest();
	afx_msg void OnToolsCleartype();
	afx_msg void OnBack();	
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_HTMLVIEWER_H__3A668AF8_E0C7_4EFA_8657_8860BB145B74__INCLUDED_)

⌨️ 快捷键说明

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