home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / daoview / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.5 KB  |  58 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-1998 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 related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. class CMainFrame : public CFrameWnd
  14. {
  15. protected: // create from serialization only
  16.     CMainFrame();
  17.     DECLARE_DYNCREATE(CMainFrame)
  18.  
  19. // Attributes
  20. public:
  21.     CSplitterWnd m_Splitter;
  22.  
  23. // Operations
  24. public:
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CMainFrame)
  29.     public:
  30.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  31.     protected:
  32.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. public:
  37.     virtual ~CMainFrame();
  38. #ifdef _DEBUG
  39.     virtual void AssertValid() const;
  40.     virtual void Dump(CDumpContext& dc) const;
  41. #endif
  42.  
  43. protected:  // control bar embedded members
  44.     CStatusBar  m_wndStatusBar;
  45.     CToolBar    m_wndToolBar;
  46.  
  47. // Generated message map functions
  48. protected:
  49.     //{{AFX_MSG(CMainFrame)
  50.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  51.     afx_msg void OnViewOptions();
  52.     afx_msg void OnAppClone();
  53.     //}}AFX_MSG
  54.     DECLARE_MESSAGE_MAP()
  55. };
  56.  
  57. /////////////////////////////////////////////////////////////////////////////
  58.