📄 comsettingdlg.cpp
字号:
// ComSettingDlg.cpp : implementation file
//
#include "stdafx.h"
#include "SimSimens.h"
#include "ComSettingDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CComSettingDlg dialog
CComSettingDlg::CComSettingDlg(CWnd* pParent /*=NULL*/)
: CDialog(CComSettingDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CComSettingDlg)
m_nBaud = -1;
m_nDataBits = -1;
m_nFlowCtrl = -1;
m_nParity = -1;
m_nPort = -1;
m_nStopBits = -1;
//}}AFX_DATA_INIT
}
void CComSettingDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CComSettingDlg)
DDX_CBIndex(pDX, IDC_BAUD, m_nBaud);
DDX_CBIndex(pDX, IDC_DATABITS, m_nDataBits);
DDX_Radio(pDX, IDC_FLOWCTRL, m_nFlowCtrl);
DDX_CBIndex(pDX, IDC_PARITY, m_nParity);
DDX_CBIndex(pDX, IDC_PORT, m_nPort);
DDX_CBIndex(pDX, IDC_STOPBIT, m_nStopBits);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CComSettingDlg, CDialog)
//{{AFX_MSG_MAP(CComSettingDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CComSettingDlg message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -