newdlg.h

来自「串口程序 可以接受串口数据并进行数据处理和显示 是一个不错的数据终端」· C头文件 代码 · 共 75 行

H
75
字号
// NEWDlg.h : header file
//
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES

#if !defined(AFX_NEWDLG_H__39970CF5_124F_4F93_B765_178AB22EDAFE__INCLUDED_)
#define AFX_NEWDLG_H__39970CF5_124F_4F93_B765_178AB22EDAFE__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CNEWDlg dialog

class CNEWDlg : public CDialog
{
// Construction
public:
	CNEWDlg(CWnd* pParent = NULL);	// standard constructor
	void OptionClick(int index);
// Dialog Data
	//{{AFX_DATA(CNEWDlg)
	enum { IDD = IDD_NEW_DIALOG };
	CString	m_LocalCpu1;
	CString	m_LocalCpu2;
	CString	m_strCitou;
	CString	m_strReset;
	CString	m_strGudao;
	CString	m_NearCpu1;
	CString	m_NearCpu2;
	CMSComm	m_Comm;
	CString	m_nCpu1;
	CString	m_nCpu2;
	CString	m_strTongxin;
	CString	m_GetData;
	CString	m_nUpdatenum;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNEWDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CNEWDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSend();
	afx_msg void OnClear();
	afx_msg void OnComm();
	afx_msg void OnStop();
	afx_msg void OnCom1();
	afx_msg void OnCom2();
	afx_msg void OnCom3();
	afx_msg void OnCom4();
	afx_msg void OnErrspaceGetdata();
	DECLARE_EVENTSINK_MAP()
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_NEWDLG_H__39970CF5_124F_4F93_B765_178AB22EDAFE__INCLUDED_)

⌨️ 快捷键说明

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