📄 testhelpview.cpp
字号:
// testHelpView.cpp : implementation of the CTestHelpView class
//
#include "stdafx.h"
#include "testHelp.h"
#include "testHelpDoc.h"
#include "testHelpView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTestHelpView
IMPLEMENT_DYNCREATE(CTestHelpView, CView)
BEGIN_MESSAGE_MAP(CTestHelpView, CView)
//{{AFX_MSG_MAP(CTestHelpView)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
ON_COMMAND(ID_CANCEL_EDIT_SRVR, OnCancelEditSrvr)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTestHelpView construction/destruction
CTestHelpView::CTestHelpView()
{
// TODO: add construction code here
}
CTestHelpView::~CTestHelpView()
{
}
BOOL CTestHelpView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CView::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// CTestHelpView drawing
void CTestHelpView::OnDraw(CDC* pDC)
{
CTestHelpDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
}
/////////////////////////////////////////////////////////////////////////////
// OLE Server support
// The following command handler provides the standard keyboard
// user interface to cancel an in-place editing session. Here,
// the server (not the container) causes the deactivation.
void CTestHelpView::OnCancelEditSrvr()
{
GetDocument()->OnDeactivateUI(FALSE);
}
/////////////////////////////////////////////////////////////////////////////
// CTestHelpView diagnostics
#ifdef _DEBUG
void CTestHelpView::AssertValid() const
{
CView::AssertValid();
}
void CTestHelpView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CTestHelpDoc* CTestHelpView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CTestHelpDoc)));
return (CTestHelpDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CTestHelpView message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -