Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.6 KiB

  1. /*************************************************
  2. * mainfrm.h *
  3. * *
  4. * Copyright (C) 1995-1999 Microsoft Inc. *
  5. * *
  6. *************************************************/
  7. // mainfrm.h : interface of the CMainFrame class
  8. //
  9. /////////////////////////////////////////////////////////////////////////////
  10. #include "mybar.h"
  11. #include "mystatus.h"
  12. class CMainFrame : public CFrameWnd
  13. {
  14. protected: // create from serialization only
  15. CMainFrame();
  16. DECLARE_DYNCREATE(CMainFrame)
  17. // Attributes
  18. public:
  19. // Operations
  20. public:
  21. // Overrides
  22. // ClassWizard generated virtual function overrides
  23. //{{AFX_VIRTUAL(CMainFrame)
  24. public:
  25. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  26. //}}AFX_VIRTUAL
  27. // Implementation
  28. public:
  29. virtual ~CMainFrame();
  30. #ifdef _DEBUG
  31. virtual void AssertValid() const;
  32. virtual void Dump(CDumpContext& dc) const;
  33. #endif
  34. protected: // control bar embedded members
  35. CMyStatusBar m_wndStatusBar;
  36. CMyToolBar m_wndToolBar;
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CMainFrame)
  40. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  41. afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
  42. afx_msg BOOL OnQueryNewPalette();
  43. afx_msg void OnMenuSelect( UINT nItemID, UINT nFl, HMENU hSysMenu );
  44. afx_msg void OnFire();
  45. afx_msg void OnToolPause();
  46. afx_msg void OnToolResume();
  47. afx_msg void OnDestroy();
  48. //}}AFX_MSG
  49. afx_msg void OnUpdateStatus(CCmdUI* pCmdUI);
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. /////////////////////////////////////////////////////////////////////////////