00001 // ChildFrm.h : interface de la classe CChildFrame 00002 // 00003 00004 00005 #pragma once 00006 00007 #include "Model/ModelDraw.h" 00008 #include "Viewer/GameViewer.h" 00009 #include "Viewer/ViewerInterface.h" 00010 00011 class CViewerView; 00012 class CViewerDoc; 00013 00014 class CChildFrame : public CMDIChildWnd 00015 { 00016 DECLARE_DYNCREATE(CChildFrame) 00017 public: 00018 CChildFrame(); 00019 00020 // Attributs 00021 protected: 00022 CSplitterWnd m_wndSplitter; 00023 CSplitterWnd m_wndSplitter2; 00024 CSplitterWnd m_wndSplitter3; 00025 CViewerDoc* m_pDocument; 00026 KGameViewer* m_pGameViewer; 00027 CMenu m_Menu; 00028 00029 public: 00030 KGameViewer* GetpGameViewer() { return m_pGameViewer; } 00031 CViewerDoc* GetDocument() { return m_pDocument; } 00032 bool Manage(); 00033 00034 // Opérations 00035 public: 00036 00037 // Substitutions 00038 public: 00039 virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); 00040 virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 00041 00042 // Implémentation 00043 public: 00044 virtual ~CChildFrame(); 00045 #ifdef _DEBUG 00046 virtual void AssertValid() const; 00047 virtual void Dump(CDumpContext& dc) const; 00048 #endif 00049 00050 protected: 00051 // CViewerView* GetRightPane(); 00052 // Fonctions générées de la table des messages 00053 protected: 00054 // afx_msg void OnUpdateViewStyles(CCmdUI* pCmdUI); 00055 // afx_msg void OnViewStyle(UINT nCommandID); 00056 DECLARE_MESSAGE_MAP() 00057 public: 00058 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 00059 afx_msg void OnDestroy(); 00060 protected: 00061 virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); 00062 public: 00063 afx_msg void OnDisplayShowselection(); 00064 afx_msg void OnSize(UINT nType, int cx, int cy); 00065 afx_msg void OnSizing(UINT fwSide, LPRECT pRect); 00066 };
1.5.1-p1