📄 mpiringview.cpp
字号:
// MPIRingView.cpp : implementation of the CMPIRingView class//#include "stdafx.h"#include "MPIRing.h"#include "MPIRingDoc.h"#include "MPIRingView.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CMPIRingViewIMPLEMENT_DYNCREATE(CMPIRingView, CView)BEGIN_MESSAGE_MAP(CMPIRingView, CView) //{{AFX_MSG_MAP(CMPIRingView) //}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CMPIRingView construction/destructionCMPIRingView::CMPIRingView(){}CMPIRingView::~CMPIRingView(){}BOOL CMPIRingView::PreCreateWindow(CREATESTRUCT& cs){ return CView::PreCreateWindow(cs);}/////////////////////////////////////////////////////////////////////////////// CMPIRingView drawingvoid CMPIRingView::OnDraw(CDC* pDC){ CMPIRingDoc* pDoc = GetDocument(); ASSERT_VALID(pDoc);}/////////////////////////////////////////////////////////////////////////////// CMPIRingView diagnostics#ifdef _DEBUGvoid CMPIRingView::AssertValid() const{ CView::AssertValid();}void CMPIRingView::Dump(CDumpContext& dc) const{ CView::Dump(dc);}CMPIRingDoc* CMPIRingView::GetDocument() // non-debug version is inline{ ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMPIRingDoc))); return (CMPIRingDoc*)m_pDocument;}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// CMPIRingView message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -