00001
00002
00004
00005 #if !defined(AFX_CHILDFRM_H__EC6EE953_8B7A_4B8A_B532_C52AE813C89D__INCLUDED_)
00006 #define AFX_CHILDFRM_H__EC6EE953_8B7A_4B8A_B532_C52AE813C89D__INCLUDED_
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012 #include "ToolBarControls.h"
00013 #include "ToolBarLayout.h"
00014 #include "ToolBarProperties.h"
00015
00016 class CChildFrame : public CMDIChildWnd
00017 {
00018 DECLARE_DYNCREATE(CChildFrame);
00019 public:
00020 CChildFrame();
00021
00022
00023 public:
00024 CControlsToolBar m_wndToolBarCon;
00025 CLayoutToolBar m_wndToolBarLay;
00026 CPropertiesToolBar m_wndToolBarPrp;
00027
00028
00029
00030 public:
00031
00032
00033
00034
00035 public:
00036 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
00037 protected:
00038 virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
00039
00040
00041
00042 public:
00043 virtual ~CChildFrame();
00044 #ifdef _DEBUG
00045 virtual void AssertValid() const;
00046 virtual void Dump(CDumpContext& dc) const;
00047 #endif
00048
00049
00050 protected:
00051
00052 afx_msg void OnMDIActivate(BOOL bActivate, CWnd* pActivateWnd, CWnd* pDeactivateWnd);
00053 afx_msg void OnPaint();
00054 afx_msg BOOL OnEraseBkgnd(CDC* pDC);
00055 afx_msg void OnClose();
00056
00057 DECLARE_MESSAGE_MAP()
00058 };
00059
00061
00062
00063
00064
00065 #endif // !defined(AFX_CHILDFRM_H__EC6EE953_8B7A_4B8A_B532_C52AE813C89D__INCLUDED_)