home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / dbvlist / mainfrm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.9 KB  |  68 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__13CCB747_ED59_11D0_8286_00C04FD73634__INCLUDED_)
  14. #define AFX_MAINFRM_H__13CCB747_ED59_11D0_8286_00C04FD73634__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.     CSplitterWnd m_wndSplitter;
  29. public:
  30.  
  31. // Operations
  32. public:
  33.  
  34. // Overrides
  35.     // ClassWizard generated virtual function overrides
  36.     //{{AFX_VIRTUAL(CMainFrame)
  37.     public:
  38.     virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  39.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  40.     //}}AFX_VIRTUAL
  41.  
  42. // Implementation
  43. public:
  44.     virtual ~CMainFrame();
  45. #ifdef _DEBUG
  46.     virtual void AssertValid() const;
  47.     virtual void Dump(CDumpContext& dc) const;
  48. #endif
  49.  
  50. protected:  // control bar embedded members
  51.     CStatusBar  m_wndStatusBar;
  52.     CToolBar    m_wndToolBar;
  53.  
  54. // Generated message map functions
  55. protected:
  56.     //{{AFX_MSG(CMainFrame)
  57.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  58.     //}}AFX_MSG
  59.     DECLARE_MESSAGE_MAP()
  60. };
  61.  
  62. /////////////////////////////////////////////////////////////////////////////
  63.  
  64. //{{AFX_INSERT_LOCATION}}
  65. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  66.  
  67. #endif // !defined(AFX_MAINFRM_H__13CCB747_ED59_11D0_8286_00C04FD73634__INCLUDED_)
  68.