MainFrm.h 974 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // MainFrm.h : CMainFrame 类的接口
  2. //
  3. #pragma once
  4. class CSkinBuilderView;
  5. class CImageView;
  6. class CPropertyView;
  7. class CMainFrame : public CFrameWnd
  8. {
  9. protected: // 仅从序列化创建
  10. CMainFrame();
  11. DECLARE_DYNCREATE( CMainFrame )
  12. //
  13. public:
  14. CTreeCtrl m_wndObjectView;
  15. //
  16. public:
  17. public:
  18. virtual BOOL PreCreateWindow( CREATESTRUCT & cs );
  19. //
  20. public:
  21. virtual ~CMainFrame();
  22. #ifdef _DEBUG
  23. virtual void AssertValid() const;
  24. virtual void Dump( CDumpContext & dc ) const;
  25. #endif
  26. public: // 控件条嵌入成员
  27. CToolBar m_wndToolBar;
  28. CStatusBar m_wndStatusBar;
  29. CSplitterWnd m_wndSplitter;
  30. CSkinBuilderView * m_pViewMain;
  31. CImageView * m_pViewImage;
  32. CPropertyView * m_pViewProperty;
  33. // 生成的消息映射函数
  34. protected:
  35. virtual BOOL OnCreateClient( LPCREATESTRUCT lpcs , CCreateContext * pContext );
  36. public:
  37. afx_msg int OnCreate( LPCREATESTRUCT lpCreateStruct );
  38. afx_msg void OnClose();
  39. DECLARE_MESSAGE_MAP()
  40. };