12view.h
来自「文本文件和二进制文件的区别。用文本方式读写文件和以二进制方式读写文件的注意事项。」· C头文件 代码 · 共 68 行
H
68 行
// 12View.h : interface of the CMy12View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_12VIEW_H__B91C504C_E40A_4B03_A2CF_9726C00AB632__INCLUDED_)
#define AFX_12VIEW_H__B91C504C_E40A_4B03_A2CF_9726C00AB632__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMy12View : public CView
{
protected: // create from serialization only
CMy12View();
DECLARE_DYNCREATE(CMy12View)
// Attributes
public:
CMy12Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMy12View)
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 ~CMy12View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMy12View)
afx_msg void OnFileWrite();
afx_msg void OnFileRead();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 12View.cpp
inline CMy12Doc* CMy12View::GetDocument()
{ return (CMy12Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_12VIEW_H__B91C504C_E40A_4B03_A2CF_9726C00AB632__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?