SetupDlg.h
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:

VC书籍

开发平台:

Visual C++

  1. #if !defined(AFX_SETUPDLG_H__2F67BDA0_DDD8_11D5_BDFC_00055DF55A06__INCLUDED_)
  2. #define AFX_SETUPDLG_H__2F67BDA0_DDD8_11D5_BDFC_00055DF55A06__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 CSetupDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CSetupDlg(CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CSetupDlg)
  17. enum { IDD = IDD_DIALOG1 };
  18. int m_nStopBits;
  19. int m_nParity;
  20. CString m_sPort;
  21. CString m_sBaud;
  22. CString m_sDataBits;
  23. //}}AFX_DATA
  24. BOOL m_bConnected;
  25. // Overrides
  26. // ClassWizard generated virtual function overrides
  27. //{{AFX_VIRTUAL(CSetupDlg)
  28. protected:
  29. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  30. //}}AFX_VIRTUAL
  31. // Implementation
  32. protected:
  33. // Generated message map functions
  34. //{{AFX_MSG(CSetupDlg)
  35. virtual BOOL OnInitDialog();
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. //{{AFX_INSERT_LOCATION}}
  40. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  41. #endif // !defined(AFX_SETUPDLG_H__2F67BDA0_DDD8_11D5_BDFC_00055DF55A06__INCLUDED_)