⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 comsetting.h

📁 南瑞xt9702规约
💻 H
字号:
#if !defined(AFX_COMSETTING_H__924DE50E_E156_49BC_A7A4_D781E621D55C__INCLUDED_)
#define AFX_COMSETTING_H__924DE50E_E156_49BC_A7A4_D781E621D55C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ComSetting.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CComSetting dialog
#include "ButtonEx.h"
class CComSetting : public CDialog
{
// Construction
public:
	CComSetting(CWnd* pParent = NULL);   // standard constructor
	~CComSetting();
// Dialog Data
	//{{AFX_DATA(CComSetting)
	enum { IDD = IDD_DIALOG_COMSETTINGS };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
public:
	char		m_strComNo[8];
	char		m_strBaudRate[8];
	char		m_strDataSize[8];
	BYTE		m_strStopBit;
	BYTE		m_strParity;
	BOOL		m_bConnected;

	int			m_Stop;
	int			m_Parity;
protected:
	CComboBox*	m_pComNo;
	CComboBox*	m_pBaud;
	CComboBox*	m_pData;
	CComboBox*	m_pParity;
	CComboBox*	m_pStop;

	CStatic*	m_pStaticComNo;
	CStatic*	m_pStaticBaud;
	CStatic*	m_pStaticData;
	CStatic*	m_pStaticStop;
	CStatic*	m_pStaticParity;

	CButtonEx*	m_pOk;
	CButtonEx*	m_pCancel;

	void		CreateFile();

	// Generated message map functions
	//{{AFX_MSG(CComSetting)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_COMSETTING_H__924DE50E_E156_49BC_A7A4_D781E621D55C__INCLUDED_)

⌨️ 快捷键说明

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