countview.h
来自「《MFC经典问答》pdf格式 拿出来大家共享一下」· C头文件 代码 · 共 51 行
H
51 行
// CountView.h : interface of the CCountView class
//
/////////////////////////////////////////////////////////////////////////////
class CCountView : public CView
{
protected:
CCountView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CCountView)
// Attributes
public:
CCountDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCountView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CCountView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CCountView)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnCloseFrame();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in CountView.cpp
inline CCountDoc* CCountView::GetDocument()
{ return (CCountDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?