home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c05 / lab05 / ex01 / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.5 KB  |  54 lines

  1. #if !defined(MAINFRM__H__8EC1A8D7_1DCA_11D0_9C9B_444553540000__INCLUDED_)
  2. #define MAINFRM__H__8EC1A8D7_1DCA_11D0_9C9B_444553540000__INCLUDED_
  3.  
  4. // MainFrm.h : interface of the CMainFrame class
  5. //
  6. /////////////////////////////////////////////////////////////////////////////
  7.  
  8. class CMainFrame : public CFrameWnd
  9. {
  10. protected: // create from serialization only
  11.     CMainFrame();
  12.     DECLARE_DYNCREATE(CMainFrame)
  13.  
  14. // Attributes
  15. public:
  16.  
  17. // Operations
  18. public:
  19.  
  20. // Overrides
  21.     // ClassWizard generated virtual function overrides
  22.     //{{AFX_VIRTUAL(CMainFrame)
  23.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24.     //}}AFX_VIRTUAL
  25.  
  26. // Implementation
  27. public:
  28.     virtual ~CMainFrame();
  29. #ifdef _DEBUG
  30.     virtual void AssertValid() const;
  31.     virtual void Dump(CDumpContext& dc) const;
  32. #endif
  33.  
  34. protected:  // control bar embedded members
  35.     CStatusBar  m_wndStatusBar;
  36.     CToolBar    m_wndToolBar;
  37.  
  38. // Generated message map functions
  39. protected:
  40.     //{{AFX_MSG(CMainFrame)
  41.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  42.         // NOTE - the ClassWizard will add and remove member functions here.
  43.         //    DO NOT EDIT what you see in these blocks of generated code!
  44.     //}}AFX_MSG
  45.     DECLARE_MESSAGE_MAP()
  46. };
  47.  
  48. /////////////////////////////////////////////////////////////////////////////
  49.  
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  52.  
  53. #endif // !defined(MAINFRM__H__8EC1A8D7_1DCA_11D0_9C9B_444553540000__INCLUDED)
  54.