setcom.h

来自「一个通过串口把PC机与MODEM连接的程序」· C头文件 代码 · 共 52 行

H
52
字号
#if !defined(AFX_SETCOM_H__C0EAA743_6F50_4C63_9B10_E43A8A57EE27__INCLUDED_)
#define AFX_SETCOM_H__C0EAA743_6F50_4C63_9B10_E43A8A57EE27__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSetCOM dialog

class CSetCOM : public CDialog
{
// Construction
public:
	CString m_strPort;
	CString m_strRate;
	CSetCOM(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSetCOM)
	enum { IDD = IDD_SETTING };
	CComboBox	m_ctrlRateList;
	CComboBox	m_ctrlCommList;
	CString	m_strSmsc;
	//}}AFX_DATA


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

// Implementation
protected:

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

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

#endif // !defined(AFX_SETCOM_H__C0EAA743_6F50_4C63_9B10_E43A8A57EE27__INCLUDED_)

⌨️ 快捷键说明

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