📄 doublegripperview.cpp
字号:
// DoubleGripperView.cpp : implementation of the CDoubleGripperView class
//
#include "stdafx.h"
#include "DoubleGripper.h"
#include "DoubleGripperDoc.h"
#include "DoubleGripperView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDoubleGripperView
IMPLEMENT_DYNCREATE(CDoubleGripperView, CView)
BEGIN_MESSAGE_MAP(CDoubleGripperView, CView)
//{{AFX_MSG_MAP(CDoubleGripperView)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CDoubleGripperView construction/destruction
CDoubleGripperView::CDoubleGripperView()
{
// TODO: add construction code here
}
CDoubleGripperView::~CDoubleGripperView()
{
}
BOOL CDoubleGripperView::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
return CView::PreCreateWindow(cs);
}
/////////////////////////////////////////////////////////////////////////////
// CDoubleGripperView drawing
void CDoubleGripperView::OnDraw(CDC* pDC)
{
CDoubleGripperDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw code for native data here
}
/////////////////////////////////////////////////////////////////////////////
// CDoubleGripperView diagnostics
#ifdef _DEBUG
void CDoubleGripperView::AssertValid() const
{
CView::AssertValid();
}
void CDoubleGripperView::Dump(CDumpContext& dc) const
{
CView::Dump(dc);
}
CDoubleGripperDoc* CDoubleGripperView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CDoubleGripperDoc)));
return (CDoubleGripperDoc*)m_pDocument;
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CDoubleGripperView message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -