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

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