setcomdlg.h

来自「一个增加数据库字段的例子」· C头文件 代码 · 共 51 行

H
51
字号
#if !defined(AFX_SETCOMDLG_H__AD26A1E7_579F_4ECB_ACCF_B790DBE6DC34__INCLUDED_)
#define AFX_SETCOMDLG_H__AD26A1E7_579F_4ECB_ACCF_B790DBE6DC34__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSetComDlg dialog

class CSetComDlg : public CDialog
{
// Construction
public:
	CSetComDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSetComDlg)
	enum { IDD = IDD_SETCOM_DIALOG };
	CComboBox	m_BAUD;
	int		m_PORTNO;
	//}}AFX_DATA
	int		baud;
	int		portno;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetComDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetComDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnChangePortno();
	afx_msg void OnSelchangeBaud();
	afx_msg void OnStart();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SETCOMDLG_H__AD26A1E7_579F_4ECB_ACCF_B790DBE6DC34__INCLUDED_)

⌨️ 快捷键说明

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