1 2 #ifndef _LEFT_PANEL_FRAME_ 3 #define _LEFT_PANEL_FRAME_ 4 5 #include <afxcview.h> 6 7 class left_top_panel_frame : public CWnd 8 { 9 public: 10 left_top_panel_frame(); 11 ~left_top_panel_frame(); 12 void SetControlSize(); 13 virtual void PostNcDestroy(); 14 15 protected: 16 DECLARE_DYNCREATE(left_top_panel_frame); 17 afx_msg void OnSize(UINT nType, int cx, int cy); 18 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 19 afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection); 20 DECLARE_MESSAGE_MAP() 21 22 void PositionChildren(); 23 24 private: 25 view_header *mp_project_header; 26 project_view *mp_project_view; 27 int m_header_height; 28 }; 29 30 class left_bottom_panel_frame : public CWnd 31 { 32 public: 33 left_bottom_panel_frame(); 34 ~left_bottom_panel_frame(); 35 void SetControlSize(); 36 virtual void PostNcDestroy(); 37 38 protected: 39 DECLARE_DYNCREATE(left_bottom_panel_frame); 40 afx_msg void OnSize(UINT nType, int cx, int cy); 41 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 42 afx_msg void OnSettingChange(UINT uFlags, LPCTSTR lpszSection); 43 DECLARE_MESSAGE_MAP() 44 45 void PositionChildren(); 46 47 private: 48 view_header* mp_props_header; 49 properties_win* mp_properties_win; 50 int m_header_height; 51 }; 52 53 #endif 54