home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c480 / 20.ddi / MFC / SAMPLES / CHKBOOK / MAINFRM.H_ / MAINFRM.H
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.4 KB  |  50 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 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. // This class implements the Check and Book commands in the View menu.
  14. // These commands create a check or book view, if one does not already exist.
  15. /////////////////////////////////////////////////////////////////////////////
  16.  
  17. class CCheckView;
  18. class CBookView;
  19.  
  20.  
  21. class CMainFrame : public CMDIFrameWnd
  22. {
  23.     DECLARE_DYNAMIC(CMainFrame)
  24. public:
  25.     CMainFrame();
  26.  
  27. // Operations
  28.     void CreateOrActivateFrame(CDocTemplate* pTemplate, 
  29.         CRuntimeClass* pViewClass);
  30.  
  31. // Implementation
  32. public:
  33.     virtual ~CMainFrame();
  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 OnViewBook();
  44.     afx_msg void OnViewCheck();
  45.     //}}AFX_MSG
  46.     DECLARE_MESSAGE_MAP()
  47. };
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50.