home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / hierwiz / template / mainfrm.h < prev    next >
C/C++ Source or Header  |  1998-03-05  |  1KB  |  52 lines

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