home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / advanced / dllhusk / mainfrm.h < prev    next >
C/C++ Source or Header  |  1998-03-26  |  1KB  |  52 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. #ifndef __AFXEXT_H__
  14. #include <afxext.h>         // for access to CToolBar and CStatusBar
  15. #endif
  16.  
  17. class CMainFrame : public CMDIFrameWnd
  18. {
  19.     DECLARE_DYNAMIC(CMainFrame)
  20. public:
  21.     CMainFrame();
  22.  
  23. // Attributes
  24. public:
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Implementation
  30. public:
  31.     virtual ~CMainFrame();
  32. #ifdef _DEBUG
  33.     virtual void AssertValid() const;
  34.     virtual void Dump(CDumpContext& dc) const;
  35. #endif
  36.  
  37.  
  38. protected:  // control bar embedded members
  39.     CStatusBar  m_wndStatusBar;
  40.     CToolBar    m_wndToolBar;
  41.  
  42. // Generated message map functions
  43. protected:
  44.     //{{AFX_MSG(CMainFrame)
  45.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  46.     afx_msg void OnNcRButtonDown(UINT nHitTest, CPoint point);
  47.     //}}AFX_MSG
  48.     DECLARE_MESSAGE_MAP()
  49. };
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.