📄 portdialog.cpp
字号:
// PortDialog.cpp : implementation file
//
#include "stdafx.h"
#include "exa06.h"
#include "PortDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CPortDialog dialog
CPortDialog::CPortDialog(CWnd* pParent /*=NULL*/)
: CDialog(CPortDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CPortDialog)
m_strData = _T("");
m_strCtrl = _T("");
//}}AFX_DATA_INIT
}
void CPortDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CPortDialog)
DDX_CBString(pDX, IDC_CTRL_COMBO, m_strData);
DDV_MaxChars(pDX, m_strData, 5);
DDX_CBString(pDX, IDC_DATA_COMBO, m_strCtrl);
DDV_MaxChars(pDX, m_strCtrl, 5);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CPortDialog, CDialog)
//{{AFX_MSG_MAP(CPortDialog)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CPortDialog message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -