dlgcommset.h

来自「windows mobile ppc5.0 mfc 编制的串口测试程序」· C头文件 代码 · 共 32 行

H
32
字号
#pragma once

// CDlgCommSet 对话框

class CDlgCommSet : public CDialog
{
	DECLARE_DYNAMIC(CDlgCommSet)

public:
	CDlgCommSet(CWnd* pParent = NULL);   // 标准构造函数
	virtual ~CDlgCommSet();

// 对话框数据
	enum { IDD = IDD_DLG_COMMSET };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	int m_nComm;
	int m_nBaut;
	int m_nParity;
	int m_nDataLen;
	int m_nStopBits;
	int m_nShake;
	virtual BOOL OnInitDialog();
	void init(int nComm, int nBaut, int nParity, int nDataBits, int nStopBits, int nShakeHand);
	afx_msg void OnBnClickedOk();
	void GetConfig(int& nComm, int& nBaut, int& nParity, int& nDataBits, int& nStopBits, int& nShakeHand);
};

⌨️ 快捷键说明

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