myview.h
来自「根据多点坐标绘制趋势图并定时刷新的程序。」· C头文件 代码 · 共 57 行
H
57 行
#if !defined(AFX_MYVIEW_H__B9A0B20A_78EA_4CE4_A0C9_EDABB34EB902__INCLUDED_)
#define AFX_MYVIEW_H__B9A0B20A_78EA_4CE4_A0C9_EDABB34EB902__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyView.h : header file
//
#include "clPlot.h"
/////////////////////////////////////////////////////////////////////////////
// CMyView view
class CMyView : public CView
{
public:
CMyView(); // protected constructor used by dynamic creation
virtual ~CMyView();
DECLARE_DYNCREATE(CMyView)
// Attributes
public:
CRect rc;
clPlot m_plot;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CMyView)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYVIEW_H__B9A0B20A_78EA_4CE4_A0C9_EDABB34EB902__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?