SetupDlg.cpp
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:
VC书籍
开发平台:
Visual C++
- // SetupDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "robot.h"
- #include "SetupDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CSetupDlg dialog
- CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CSetupDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CSetupDlg)
- m_nStopBits = -1;
- m_nParity = -1;
- m_sPort = _T("");
- m_sBaud =_T("");
- m_sDataBits =_T("");
- //}}AFX_DATA_INIT
- }
- void CSetupDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CSetupDlg)
- DDX_CBIndex(pDX, IDC_STOPBITS, m_nStopBits);
- DDX_CBIndex(pDX, IDC_PARITY, m_nParity);
- DDX_CBString(pDX, IDC_PORT, m_sPort);
- DDX_CBString(pDX, IDC_BAUD, m_sBaud);
- DDX_CBString(pDX, IDC_DATABITS, m_sDataBits);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CSetupDlg, CDialog)
- //{{AFX_MSG_MAP(CSetupDlg)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CSetupDlg message handlers
- BOOL CSetupDlg::OnInitDialog()
- {
- CDialog::OnInitDialog();
- // TODO: Add extra initialization here
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }