1 2 #ifndef _RIGHT_PANEL_FRAME_ 3 #define _RIGHT_PANEL_FRAME_ 4 5 #include <afxcview.h> 6 7 class right_panel_frame : public CWnd 8 { 9 public: 10 right_panel_frame(); 11 ~right_panel_frame(); 12 virtual void PostNcDestroy(); 13 14 //virtual void OnDraw(CDC *pDC); 15 16 protected: 17 DECLARE_DYNCREATE(right_panel_frame); 18 afx_msg void OnSize(UINT nType, int cx, int cy); 19 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 20 DECLARE_MESSAGE_MAP() 21 22 private: 23 view_header *mp_resource_header; 24 resource_view *mp_resource_view; 25 }; 26 27 #endif 28