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

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMainFrame : public CMDIFrameWnd
  6. {
  7.     DECLARE_DYNAMIC(CMainFrame)
  8. public:
  9.     CMainFrame();
  10.  
  11. // Attributes
  12. public:
  13.  
  14. protected:
  15.     CDocTemplate* m_pItalicsTemplate;
  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.     afx_msg void OnWindowItalics();
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. /////////////////////////////////////////////////////////////////////////////
  48.