configdlg.h

来自「一个用VC++做的嵌入式GPS导航的程序」· C头文件 代码 · 共 62 行

H
62
字号
#if !defined(AFX_CONFIGDLG_H__C06BEAA2_8D42_4D99_8890_F90719851E5C__INCLUDED_)
#define AFX_CONFIGDLG_H__C06BEAA2_8D42_4D99_8890_F90719851E5C__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CConfigDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CConfigDlg)
	enum { IDD = IDD_CONFIG_DLG };
	CComboBox	m_StopBits;
	CComboBox	m_PortNo;
	CComboBox	m_Parity;
	CComboBox	m_DataBits;
	CComboBox	m_BaudRate;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CConfigDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeBaud();
	afx_msg void OnSelchangeData();
	afx_msg void OnSelchangeParity();
	afx_msg void OnSelchangePort();
	afx_msg void OnSelchangeStopbit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	int StopBits;
	int PortNo;
	int Parity;
	int DataBits;
	int BaudRate;
};

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

#endif // !defined(AFX_CONFIGDLG_H__C06BEAA2_8D42_4D99_8890_F90719851E5C__INCLUDED_)

⌨️ 快捷键说明

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