📄 inttestview.cpp
字号:
// IntTestView.cpp : implementation of the CIntTestView class
//
#include "stdafx.h"
#include "IntTest.h"
#include "IntTestDoc.h"
#include "IntTestView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CIntTestView
IMPLEMENT_DYNCREATE(CIntTestView, CFormView)
BEGIN_MESSAGE_MAP(CIntTestView, CFormView)
//{{AFX_MSG_MAP(CIntTestView)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CIntTestView construction/destruction
CIntTestView::CIntTestView()
: CFormView(CIntTestView::IDD)
{
//{{AFX_DATA_INIT(CIntTestView)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
// TODO: add construction code here
}
CIntTestView::~CIntTestView()
{
}
void CIntTestView::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CIntTestView)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BOOL CIntTestView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CFormView::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// CIntTestView diagnostics
#ifdef _DEBUG
void CIntTestView::AssertValid() const
{
CFormView::AssertValid();
}
void CIntTestView::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
CIntTestDoc* CIntTestView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CIntTestDoc)));
return (CIntTestDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CIntTestView message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -