home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c07 / lab02 / ex03 / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.3 KB  |  50 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.     CSplitter* GetSplitter() { return &m_wndSplitter; }
  14.  
  15. // Operations
  16. public:
  17.  
  18. // Overrides
  19.     // ClassWizard generated virtual function overrides
  20.     //{{AFX_VIRTUAL(CMainFrame)
  21.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  22.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  23.     //}}AFX_VIRTUAL
  24.  
  25. // Implementation
  26. public:
  27.     virtual ~CMainFrame();
  28. #ifdef _DEBUG
  29.     virtual void AssertValid() const;
  30.     virtual void Dump(CDumpContext& dc) const;
  31. #endif
  32.  
  33. protected:  // control bar embedded members
  34.     CStatusBar  m_wndStatusBar;
  35.     CToolBar    m_wndToolBar;
  36.     CSplitter    m_wndSplitter;
  37.  
  38.  
  39. // Generated message map functions
  40. protected:
  41.     //{{AFX_MSG(CMainFrame)
  42.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  43.         // NOTE - the ClassWizard will add and remove member functions here.
  44.         //    DO NOT EDIT what you see in these blocks of generated code!
  45.     //}}AFX_MSG
  46.     DECLARE_MESSAGE_MAP()
  47. };
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50.