📄 internetview.cpp
字号:
// InternetView.cpp : implementation file
//
#include "stdafx.h"
#include "LeoBlock2004.h"
#include "InternetView.h"
//#include "LRegistry.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CInternetView
//IMPLEMENT_DYNCREATE(CInternetView, CHtmlView)
CInternetView::CInternetView()
{
}
CInternetView::~CInternetView()
{
}
BEGIN_MESSAGE_MAP(CInternetView, CHtmlView)
//{{AFX_MSG_MAP(CInternetView)
ON_WM_DESTROY()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInternetView drawing
void CInternetView::OnDraw(CDC* pDC)
{
CDocument* pDoc = GetDocument();
// TODO: add draw code here
}
/////////////////////////////////////////////////////////////////////////////
// CInternetView diagnostics
/////////////////////////////////////////////////////////////////////////////
// CInternetView message handlers
void CInternetView::OnInitialUpdate()
{
CHtmlView::OnInitialUpdate();
//Add Leo Install Path
}
BOOL CInternetView::CreateNew(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext)
{
// TODO: Add your specialized code here and/or call the base class
m_bViewMode=Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);
return m_bViewMode;
//return CWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);
}
void CInternetView::PostNcDestroy()
{
// TODO: Add your specialized code here and/or call the base class
if(!m_bViewMode)
CHtmlView::PostNcDestroy();
CWnd::PostNcDestroy();
}
void CInternetView::OnDestroy()
{
CHtmlView::OnDestroy();
// TODO: Add your message handler code here
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -