home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / mdidocvw / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.4 KB  |  55 lines

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15.  
  16. class CMainFrame : public CMDIFrameWnd
  17. {
  18.     DECLARE_DYNAMIC(CMainFrame)
  19. public:
  20.     CMainFrame();
  21.  
  22. // Attributes
  23. public:
  24.  
  25. // Operations
  26. public:
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CMainFrame)
  31.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  32.     //}}AFX_VIRTUAL
  33.  
  34. // Implementation
  35. public:
  36.     virtual ~CMainFrame();
  37. #ifdef _DEBUG
  38.     virtual void AssertValid() const;
  39.     virtual void Dump(CDumpContext& dc) const;
  40. #endif
  41.  
  42. protected:  // control bar embedded members
  43.     CStatusBar  m_wndStatusBar;
  44.     CToolBar    m_wndToolBar;
  45.  
  46. // Generated message map functions
  47. protected:
  48.     //{{AFX_MSG(CMainFrame)
  49.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  50.     //}}AFX_MSG
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55.