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 / termedit.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.3 KB  |  57 lines

  1. // termedit.h : interface of the CTermEdit 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 "commctrl.h"
  15.  
  16. #ifndef _TERMEDIT_H_
  17. #define _TERMEDIT_H_
  18.  
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CTermEdit window
  21.  
  22. class CTermEdit : public CEdit
  23. {
  24. // Construction
  25. public:
  26.     CTermEdit();
  27.     BOOL m_bEcho;
  28.     CCommCtrl* m_pCommCtrl;
  29.  
  30. // Attributes
  31. public:
  32.  
  33. // Operations
  34. public:
  35.  
  36. // Overrides
  37.     // ClassWizard generated virtual function overrides
  38.     //{{AFX_VIRTUAL(CTermEdit)
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42. public:
  43.     virtual ~CTermEdit();
  44.  
  45.     // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CTermEdit)
  48.     afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
  49.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  50.     //}}AFX_MSG
  51.  
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. #endif // _TERMEDIT_H_
  56. /////////////////////////////////////////////////////////////////////////////
  57.