📄 mvc2c6.tmp
字号:
// exa06View.h : interface of the CExa06View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_EXA06VIEW_H__6166CE45_1758_4DFA_963A_1BAD8F80D9A7__INCLUDED_)
#define AFX_EXA06VIEW_H__6166CE45_1758_4DFA_963A_1BAD8F80D9A7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CExa06View : public CScrollView
{
protected: // create from serialization only
CExa06View();
DECLARE_DYNCREATE(CExa06View)
// Attributes
public:
CExa06Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CExa06View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
//COM control and data transport setting
bool m_bCtrlCOMCreated;
bool m_bDataCOMCreated;
bool m_AlreadyOpen;
CWinThread *pThread;
//return error code: 0:right , 1:open com error , 2:port set error, 3:port not exisit
int SetDataCOM(CString str);
int SetCtrlCOM(CString str);
//sending message and convert function
void OnComm();
virtual ~CExa06View();
/////////////////////////////////////////////////////////////////////////////
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CExa06View)
afx_msg void OnStart();
afx_msg void OnStop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in exa06View.cpp
inline CExa06Doc* CExa06View::GetDocument()
{ return (CExa06Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EXA06VIEW_H__6166CE45_1758_4DFA_963A_1BAD8F80D9A7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -