home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / advanced / collect / 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 CFrameWnd
  14. {
  15. protected: // create from serialization only
  16.     CMainFrame();
  17.     DECLARE_DYNCREATE(CMainFrame)
  18.  
  19. // Attributes
  20. public:
  21.     UINT m_nCurrentExample;
  22.  
  23. // Operations
  24. public:
  25.  
  26. // Overrides
  27.     void OnExample(UINT nCmdID);
  28.     void OnUpdateExampleUI(CCmdUI* pCmdUI);
  29.     // ClassWizard generate virtual function overrides
  30.     //{{AFX_VIRTUAL(CMainFrame)
  31.     //}}AFX_VIRTUAL
  32.  
  33. // Implementation
  34. public:
  35.     virtual ~CMainFrame();
  36. #ifdef _DEBUG
  37.     virtual void AssertValid() const;
  38.     virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40.  
  41. protected:  // control bar embedded members
  42.     CStatusBar  m_wndStatusBar;
  43.     CToolBar    m_wndToolBar;
  44.  
  45. // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CMainFrame)
  48.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.