ex04_3view.h
来自「内容包括从VC++的基本范例到项目开发的许多典型的例子。是VC++初学者不可多得」· C头文件 代码 · 共 68 行
H
68 行
// Ex04_3View.h : interface of the CEx04_3View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_EX04_3VIEW_H__AF8838DE_782A_42B2_A1D2_1C99386721FE__INCLUDED_)
#define AFX_EX04_3VIEW_H__AF8838DE_782A_42B2_A1D2_1C99386721FE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CEx04_3View : public CView
{
protected: // create from serialization only
CEx04_3View();
DECLARE_DYNCREATE(CEx04_3View)
// Attributes
public:
CEx04_3Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CEx04_3View)
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);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CEx04_3View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CEx04_3View)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in Ex04_3View.cpp
inline CEx04_3Doc* CEx04_3View::GetDocument()
{ return (CEx04_3Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EX04_3VIEW_H__AF8838DE_782A_42B2_A1D2_1C99386721FE__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?