textinstatusview.h
来自「《突破Visual C++.NET编程实例五十讲+源文件,初学者学习的好东东!」· C头文件 代码 · 共 67 行
H
67 行
// TextInStatusView.h : CTextInStatusView 类的接口
//
#if !defined(AFX_TEXTINSTATUSVIEW_H__9E91315D_E950_11D4_AFB3_0050BABF4197__INCLUDED_)
#define AFX_TEXTINSTATUSVIEW_H__9E91315D_E950_11D4_AFB3_0050BABF4197__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTextInStatusView : public CView
{
protected: // 仅从序列化创建
CTextInStatusView();
DECLARE_DYNCREATE(CTextInStatusView)
// 属性
public:
CTextInStatusDoc* GetDocument();
// 操作
public:
// 重写
// 重写以绘制该视图
//{{AFX_VIRTUAL(CTextInStatusView)
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
// 实现
public:
virtual ~CTextInStatusView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// 生成的消息映射函数
protected:
//{{AFX_MSG(CTextInStatusView)
// 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 TextInStatusView.cpp
inline CTextInStatusDoc* CTextInStatusView::GetDocument()
{ return (CTextInStatusDoc*)m_pDocument; }
#endif
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TEXTINSTATUSVIEW_H__9E91315D_E950_11D4_AFB3_0050BABF4197__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?