home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / mdibind / mainfrm.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  1KB  |  54 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 CMDIFrameWnd
  14. {
  15.     DECLARE_DYNAMIC(CMainFrame)
  16. public:
  17.     CMainFrame();
  18.  
  19. // Attributes
  20. public:
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CMainFrame)
  28.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  29.     //}}AFX_VIRTUAL
  30.  
  31. // Implementation
  32. public:
  33.     virtual ~CMainFrame();
  34. #ifdef _DEBUG
  35.     virtual void AssertValid() const;
  36.     virtual void Dump(CDumpContext& dc) const;
  37. #endif
  38.  
  39. protected:  // 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 void OnWindowBind();
  48.     afx_msg void OnUpdateWindowBind(CCmdUI* pCmdUI);
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.