receiveview.h
来自「接收程序: 与发送程序合作实现两台计算机的串口通信」· C头文件 代码 · 共 65 行
H
65 行
// receiveView.h : interface of the CReceiveView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_RECEIVEVIEW_H__DBD09D91_1905_11D4_8F7F_5254AB15C3BA__INCLUDED_)
#define AFX_RECEIVEVIEW_H__DBD09D91_1905_11D4_8F7F_5254AB15C3BA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CReceiveView : public CEditView
{
protected: // create from serialization only
CReceiveView();
DECLARE_DYNCREATE(CReceiveView)
// Attributes
public:
CReceiveDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CReceiveView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CReceiveView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CReceiveView)
afx_msg void OnTimer(UINT nIDEvent);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in receiveView.cpp
inline CReceiveDoc* CReceiveView::GetDocument()
{ return (CReceiveDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RECEIVEVIEW_H__DBD09D91_1905_11D4_8F7F_5254AB15C3BA__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?