📄 testview.h
字号:
// testview.h : interface of the CTestView class
//
/////////////////////////////////////////////////////////////////////////////
class CTestView : public CZoomView
{
protected: // create from serialization only
CTestView();
DECLARE_DYNCREATE(CTestView)
// Attributes
public:
CDemo_DevStudioDoc* GetDocument();
// Operations
public:
// Implementation
public:
virtual ~CTestView();
virtual void OnInitialUpdate();
virtual void OnDraw(CDC* pDC); // overridden to draw this view
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Printing support
protected:
// virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
// virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
// virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
// Generated message map functions
protected:
//{{AFX_MSG(CTestView)
// afx_msg void OnViewZoomin();
// afx_msg void OnViewZoomout();
// afx_msg void OnViewZoomfull();
// afx_msg void OnUpdateViewZoomin(CCmdUI* pCmdUI);
// afx_msg void OnUpdateViewZoomout(CCmdUI* pCmdUI);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
// Class data members
private:
CFont *m_font;
};
#ifndef _DEBUG // debug version in testview.cpp
inline CDemo_DevStudioDoc* CTestView::GetDocument()
{ return (CDemo_DevStudioDoc*) m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -