home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / mfcrows / mainfrm.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  2KB  |  66 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. #if !defined(AFX_MAINFRM_H__2B60A700_22FC_11D1_8FD3_000000000000__INCLUDED_)
  14. #define AFX_MAINFRM_H__2B60A700_22FC_11D1_8FD3_000000000000__INCLUDED_
  15.  
  16. #if _MSC_VER >= 1000
  17. #pragma once
  18. #endif // _MSC_VER >= 1000
  19.  
  20. class CMainFrame : public CFrameWnd
  21. {
  22. protected: // create from serialization only
  23.     CMainFrame();
  24.     DECLARE_DYNCREATE(CMainFrame)
  25.  
  26. // Attributes
  27. public:
  28.  
  29. // Operations
  30. public:
  31.  
  32. // Overrides
  33.     // ClassWizard generated virtual function overrides
  34.     //{{AFX_VIRTUAL(CMainFrame)
  35.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. public:
  40.     virtual ~CMainFrame();
  41. #ifdef _DEBUG
  42.     virtual void AssertValid() const;
  43.     virtual void Dump(CDumpContext& dc) const;
  44. #endif
  45.  
  46. protected:  // control bar embedded members
  47.     CStatusBar  m_wndStatusBar;
  48.     CToolBar    m_wndToolBar;
  49.  
  50. // Generated message map functions
  51. protected:
  52.     //{{AFX_MSG(CMainFrame)
  53.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  54.         // NOTE - the ClassWizard will add and remove member functions here.
  55.         //    DO NOT EDIT what you see in these blocks of generated code!
  56.     //}}AFX_MSG
  57.     DECLARE_MESSAGE_MAP()
  58. };
  59.  
  60. /////////////////////////////////////////////////////////////////////////////
  61.  
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  64.  
  65. #endif // !defined(AFX_MAINFRM_H__2B60A700_22FC_11D1_8FD3_000000000000__INCLUDED_)
  66.