SetCommDlg.h
上传用户:yffx2008
上传日期:2014-10-12
资源大小:12414k
文件大小:1k
源码类别:

交通/航空行业

开发平台:

Visual C++

  1. #if !defined(AFX_SETUPDLG_H__E9642B41_B5D0_11D7_B7C5_00E01808A228__INCLUDED_)
  2. #define AFX_SETUPDLG_H__E9642B41_B5D0_11D7_B7C5_00E01808A228__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SetupDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSetupDlg dialog
  10. class CSetCommDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CSetCommDlg(CWnd* pParent = NULL);   // standard constructor
  15. public:
  16. BOOL m_bConnected;
  17. // Dialog Data
  18. //{{AFX_DATA(CSetupDlg)
  19. enum { IDD = IDD_COMSETTINGS };
  20. CString m_sBaud;
  21. CString m_sDataBits;
  22. CString m_sPort;
  23. int m_nParity;
  24. int m_nStopBits;
  25. //}}AFX_DATA
  26. // Overrides
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CSetupDlg)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. // Generated message map functions
  35. //{{AFX_MSG(CSetupDlg)
  36. virtual BOOL OnInitDialog();
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. //{{AFX_INSERT_LOCATION}}
  41. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  42. #endif // !defined(AFX_SETUPDLG_H__E9642B41_B5D0_11D7_B7C5_00E01808A228__INCLUDED_)