home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / advanced / cube / 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.  
  22. // Operations
  23. public:
  24.  
  25. // Overrides
  26.     // ClassWizard generated virtual function overrides
  27.     //{{AFX_VIRTUAL(CMainFrame)
  28.     protected:
  29.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  30.     //}}AFX_VIRTUAL
  31.  
  32. // Implementation
  33. public:
  34.     virtual ~CMainFrame();
  35. #ifdef _DEBUG
  36.     virtual void AssertValid() const;
  37.     virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39.  
  40. protected:  // control bar embedded members
  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 OnPaletteChanged(CWnd* pFocusWnd);
  48.     afx_msg BOOL OnQueryNewPalette();
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.