📄 htmlctrl.h
字号:
#if !defined(AFX_HTMLCTRL_H__BDA324D9_54FE_4FC6_BFD3_C291254C97DD__INCLUDED_)
#define AFX_HTMLCTRL_H__BDA324D9_54FE_4FC6_BFD3_C291254C97DD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HtmlCtrl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CHtmlCtrl html view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include <afxhtml.h>
class CHtmlCtrl : public CHtmlView
{
public:
CHtmlCtrl(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CHtmlCtrl)
// html Data
public:
//{{AFX_DATA(CHtmlCtrl)
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
// Operations
public:
BOOL CreateFromStatic(UINT nID, CWnd* pParent);
virtual void PostNcDestroy() { }
// override to trap "app:" pseudo protocol
virtual void OnBeforeNavigate2( LPCTSTR lpszURL,
DWORD nFlags,
LPCTSTR lpszTargetFrameName,
CByteArray& baPostedData,
LPCTSTR lpszHeaders,
BOOL* pbCancel );
// override to handle links to "app:mumble...". lpszWhere will be "mumble"
virtual void OnAppCmd(LPCTSTR lpszWhere);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHtmlCtrl)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CHtmlCtrl();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CHtmlCtrl)
afx_msg void OnDestroy();
afx_msg int OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT msg);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HTMLCTRL_H__BDA324D9_54FE_4FC6_BFD3_C291254C97DD__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -