home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c07 / treelist / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.3 KB  |  55 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.  
  14. protected:
  15.     CSplitterWnd m_wndSplitter;
  16.  
  17. // Operations
  18. public:
  19.  
  20. // Overrides
  21.     // ClassWizard generated virtual function overrides
  22.     //{{AFX_VIRTUAL(CMainFrame)
  23.     public:
  24.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25.     protected:
  26.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  27.     //}}AFX_VIRTUAL
  28.  
  29. // Implementation
  30. public:
  31.     virtual ~CMainFrame();
  32. #ifdef _DEBUG
  33.     virtual void AssertValid() const;
  34.     virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36.  
  37. protected:  // control bar embedded members
  38.     CStatusBar  m_wndStatusBar;
  39.     CToolBar    m_wndToolBar;
  40.  
  41. // Generated message map functions
  42. protected:
  43.     //{{AFX_MSG(CMainFrame)
  44.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  45.     afx_msg void OnEditAddAnimal();
  46.     afx_msg void OnEditModifyAnimal();
  47.     afx_msg void OnEditDeleteAnimal();
  48.     afx_msg void OnUpdateEditDeleteAnimal(CCmdUI* pCmdUI);
  49.     afx_msg void OnUpdateEditModifyAnimal(CCmdUI* pCmdUI);
  50.     //}}AFX_MSG
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55.