📄 comsetdlg1.cpp
字号:
// ComSetDlg1.cpp : implementation file
//
#include "stdafx.h"
#include "GpsSC.h"
#include "ComSetDlg1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CComSetDlg dialog
CComSetDlg::CComSetDlg(CWnd* pParent /*=NULL*/)
: CDialog(CComSetDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CComSetDlg)
m_sBaud = _T("");
m_sDataBits = _T("");
m_sPort = _T("");
m_nParity = -1;
m_nStopBits = -1;
//}}AFX_DATA_INIT
}
void CComSetDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CComSetDlg)
DDX_CBString(pDX, IDC_BAUD, m_sBaud);
DDX_CBString(pDX, IDC_DATABITS, m_sDataBits);
DDX_CBString(pDX, IDC_PORT, m_sPort);
DDX_CBIndex(pDX, IDC_PARITY, m_nParity);
DDX_CBIndex(pDX, IDC_STOPBITS, m_nStopBits);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CComSetDlg, CDialog)
//{{AFX_MSG_MAP(CComSetDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CComSetDlg message handlers
BOOL CComSetDlg::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
m_ctrlVehcleTelNo.AddString("nihao");
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -