home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / vcterm / setdlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.4 KB  |  60 lines

  1. // setdlg.h : interface of the CSettingsDlg class
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. #include "mainfrm.h"
  15.  
  16. #ifndef _SETDLG_H_
  17. #define _SETDLG_H_
  18.  
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CSettingsDlg dialog
  21.  
  22. class CSettingsDlg : public CDialog
  23. {
  24. // Construction
  25. public:
  26.     CSettingsDlg(CMainFrame* pParent = NULL);
  27.     CMainFrame* m_pMainFrame;
  28.  
  29. // Dialog Data
  30.     //{{AFX_DATA(CSettingsDlg)
  31.     enum { IDD = IDD_SETTINGS };
  32.     int     m_baud;
  33.     int     m_comport;
  34.     int     m_databits;
  35.     int     m_echo;
  36.     int     m_flow;
  37.     int     m_parity;
  38.     int     m_stopbits;
  39.     //}}AFX_DATA
  40.  
  41.  
  42. // Overrides
  43.     // ClassWizard generated virtual function overrides
  44.     //{{AFX_VIRTUAL(CSettingsDlg)
  45.     protected:
  46.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  47.     //}}AFX_VIRTUAL
  48.  
  49. // Implementation
  50. protected:
  51.  
  52.     // Generated message map functions
  53.     //{{AFX_MSG(CSettingsDlg)
  54.     virtual void OnOK();
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58.  
  59. #endif // _SETDLG_H_
  60.