autodemoview.h

来自「自编的串口通信程序」· C头文件 代码 · 共 69 行

H
69
字号
// AutoDemoView.h : interface of the CAutoDemoView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_AUTODEMOVIEW_H__FB64DEB0_AFCB_4DFD_89D4_A0E76224CC45__INCLUDED_)
#define AFX_AUTODEMOVIEW_H__FB64DEB0_AFCB_4DFD_89D4_A0E76224CC45__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CAutoDemoView : public CEditView
{
protected: // create from serialization only
	CAutoDemoView();
	DECLARE_DYNCREATE(CAutoDemoView)

// Attributes
public:
	CAutoDemoDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAutoDemoView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	//}}AFX_VIRTUAL

// Implementation
public:
	BOOL CheckCommandEnd(CString &cmdString);
	UINT m_setCheck;
	virtual ~CAutoDemoView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CAutoDemoView)
	afx_msg void OnChange();
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnDestroy();
	afx_msg void OnSet1(UINT nID);
	afx_msg void OnUpdateSet1(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in AutoDemoView.cpp
inline CAutoDemoDoc* CAutoDemoView::GetDocument()
   { return (CAutoDemoDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_AUTODEMOVIEW_H__FB64DEB0_AFCB_4DFD_89D4_A0E76224CC45__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?