MainFrm.h
上传用户:trjx11
上传日期:2021-03-01
资源大小:158k
文件大小:2k
源码类别:

工具条

开发平台:

Visual C++

  1. // MainFrm.h : interface of the CMainFrame class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_MAINFRM_H__298735FD_FF1C_11D1_8A9F_000000000000__INCLUDED_)
  5. #define AFX_MAINFRM_H__298735FD_FF1C_11D1_8A9F_000000000000__INCLUDED_
  6. #if _MSC_VER >= 1000
  7. #pragma once
  8. #endif // _MSC_VER >= 1000
  9. #include "OOExToolBar.hpp"
  10. class CMainFrame : public CMDIFrameWnd
  11. {
  12. DECLARE_DYNAMIC(CMainFrame)
  13. public:
  14. CMainFrame();
  15. // Attributes
  16. public:
  17. // Operations
  18. public:
  19. // Overrides
  20. // ClassWizard generated virtual function overrides
  21. //{{AFX_VIRTUAL(CMainFrame)
  22. public:
  23. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  24. protected:
  25. virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
  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. CStatusBar  m_wndStatusBar;
  36. //CToolBar    m_wndToolBar;
  37. COOBmpToolBar    m_stdToolBar;
  38. COOIconToolBar    m_IconToolBar;
  39.     // Generated message map functions
  40. protected:
  41. //{{AFX_MSG(CMainFrame)
  42. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  43. afx_msg void OnUpdateFileNew(CCmdUI* pCmdUI);
  44. afx_msg void OnShowtext();
  45. afx_msg void OnUpdateShowtext(CCmdUI* pCmdUI);
  46. afx_msg void OnIconmode();
  47. afx_msg void OnUpdateIconmode(CCmdUI* pCmdUI);
  48. afx_msg void OnPaint();
  49. afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection);
  50. afx_msg void OnSysColorChange();
  51. afx_msg void OnEditCopy();
  52. afx_msg void OnEditCut();
  53. afx_msg void OnEditPaste();
  54. afx_msg void OnApp();
  55. afx_msg void OnFiletype();
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. };
  59. /////////////////////////////////////////////////////////////////////////////
  60. //{{AFX_INSERT_LOCATION}}
  61. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  62. #endif // !defined(AFX_MAINFRM_H__298735FD_FF1C_11D1_8A9F_000000000000__INCLUDED_)