home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c05 / lab05 / ex02 / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.4 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.     void OnUpdateTime(CCmdUI * pCmdUI);
  12.     CMainFrame();
  13.     DECLARE_DYNCREATE(CMainFrame)
  14.  
  15. // Attributes
  16. public:
  17.  
  18. // Operations
  19. public:
  20.  
  21. // Overrides
  22.     // ClassWizard generated virtual function overrides
  23.     //{{AFX_VIRTUAL(CMainFrame)
  24.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  25.     //}}AFX_VIRTUAL
  26.  
  27. // Implementation
  28. public:
  29.     virtual ~CMainFrame();
  30. #ifdef _DEBUG
  31.     virtual void AssertValid() const;
  32.     virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34.  
  35. protected:  // control bar embedded members
  36.     CStatusBar  m_wndStatusBar;
  37.     CToolBar    m_wndToolBar;
  38.  
  39. // Generated message map functions
  40. protected:
  41.     //{{AFX_MSG(CMainFrame)
  42.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  43.     afx_msg void OnTimer(UINT nIDEvent);
  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.