📄 htmlctrl.h
字号:
// HtmlCtrl.h: interface for the CHtmlCtrl class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_HTMLCTRL_H__158D9E43_58C2_11D5_8DEC_52544C29CB85__INCLUDED_)
#define AFX_HTMLCTRL_H__158D9E43_58C2_11D5_8DEC_52544C29CB85__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CHtmlCtrl
{
public:
CHtmlCtrl();
virtual ~CHtmlCtrl();
BOOL CreateFromStatic(UINT nID, CWnd* pParent);
// Normally, CHtmlView destroys itself in PostNcDestroy,
// but we don't want to do that for a control since a control
// is usually implemented as a stack object in a dialog.
//
virtual void PostNcDestroy() { }
// overrides to bypass MFC doc/view frame dependencies
afx_msg void OnDestroy();
afx_msg int OnMouseActivate(CWnd* pDesktopWnd,UINT nHitTest,UINT message);
// 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);
DECLARE_MESSAGE_MAP();
DECLARE_DYNAMIC(CHtmlCtrl)
};
#endif // !defined(AFX_HTMLCTRL_H__158D9E43_58C2_11D5_8DEC_52544C29CB85__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -