📄 ex22cview.h
字号:
// Ex22cView.h : interface of the CEx22cView class
//
#pragma once
class CEx22cView : public CView
{
protected: // create from serialization only
CEx22cView();
DECLARE_DYNCREATE(CEx22cView)
// Attributes
public:
CEx22cDoc* GetDocument() const;
// Operations
public:
// Overrides
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
// Implementation
public:
virtual ~CEx22cView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnTestSpaceship();
};
#ifndef _DEBUG // debug version in Ex22cView.cpp
inline CEx22cDoc* CEx22cView::GetDocument() const
{ return reinterpret_cast<CEx22cDoc*>(m_pDocument); }
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -