exadiaolog.cpp
来自「一个用VC++编写的串口通信源代码,界面比较简洁,代码包括了串口接收,发送,端口」· C++ 代码 · 共 50 行
CPP
50 行
// ExaDiaolog.cpp : implementation file
//
#include "stdafx.h"
#include "CommWizard.h"
#include "ExaDiaolog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CExaDiaolog dialog
CExaDiaolog::CExaDiaolog(CWnd* pParent /*=NULL*/)
: CDialog(CExaDiaolog::IDD, pParent)
{
//{{AFX_DATA_INIT(CExaDiaolog)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CExaDiaolog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CExaDiaolog)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CExaDiaolog, CDialog)
//{{AFX_MSG_MAP(CExaDiaolog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CExaDiaolog message handlers
void CExaDiaolog::OnOK()
{
// TODO: Add extra validation here
m_strReceive = _T("");
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?