MainFrm.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. //===========================================================================//
  2. // Copyright (C) Microsoft Corporation. All rights reserved. //
  3. //===========================================================================//
  4. // MainFrm.h : interface of the MainFrame class
  5. //
  6. /////////////////////////////////////////////////////////////////////////////
  7. #if !defined(AFX_MAINFRM_H__A4EA81D6_9511_4D40_A8C5_25390ECDC6FB__INCLUDED_)
  8. #define AFX_MAINFRM_H__A4EA81D6_9511_4D40_A8C5_25390ECDC6FB__INCLUDED_
  9. #if _MSC_VER > 1000
  10. #pragma once
  11. #endif // _MSC_VER > 1000
  12. #include "EditorInterface.h"
  13. class MainFrame : public CFrameWnd
  14. {
  15. public:
  16. MainFrame();
  17. protected:
  18. DECLARE_DYNAMIC(MainFrame)
  19. // Attributes
  20. public:
  21. // Operations
  22. public:
  23. // Overrides
  24. // ClassWizard generated virtual function overrides
  25. //{{AFX_VIRTUAL(MainFrame)
  26. public:
  27. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  28. virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
  29. protected:
  30. virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. public:
  34. virtual ~MainFrame();
  35. #ifdef _DEBUG
  36. virtual void AssertValid() const;
  37. virtual void Dump(CDumpContext& dc) const;
  38. #endif
  39. public: // control bar embedded members
  40. CStatusBar m_wndStatusBar;
  41. /*CToolBar m_wndToolBar;*/
  42. CReBar m_wndReBar;
  43. CDialogBar m_wndDlgBar;
  44. EditorInterface m_wndView;
  45. // Generated message map functions
  46. protected:
  47. //{{AFX_MSG(MainFrame)
  48. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  49. afx_msg void OnSetFocus(CWnd *pOldWnd);
  50. afx_msg void OnClose();
  51. //}}AFX_MSG
  52. DECLARE_MESSAGE_MAP()
  53. };
  54. /////////////////////////////////////////////////////////////////////////////
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_MAINFRM_H__A4EA81D6_9511_4D40_A8C5_25390ECDC6FB__INCLUDED_)