Alientech 0.01
An extendable game engine
C:/Alientech/AlienPlanets/FileView.h
Go to the documentation of this file.
00001 
00002 #pragma once
00003 
00004 #include "ViewTree.h"
00005 
00006 class CFileViewToolBar : public CMFCToolBar
00007 {
00008         virtual void OnUpdateCmdUI(CFrameWnd* /*pTarget*/, BOOL bDisableIfNoHndler)
00009         {
00010                 CMFCToolBar::OnUpdateCmdUI((CFrameWnd*) GetOwner(), bDisableIfNoHndler);
00011         }
00012 
00013         virtual BOOL AllowShowOnList() const { return FALSE; }
00014 };
00015 
00016 class CFileView : public CDockablePane
00017 {
00018 // Construction
00019 public:
00020         CFileView();
00021 
00022         void AdjustLayout();
00023         void OnChangeVisualStyle();
00024 
00025 // Attributes
00026 protected:
00027 
00028         CViewTree m_wndFileView;
00029         CImageList m_FileViewImages;
00030         CFileViewToolBar m_wndToolBar;
00031 
00032 protected:
00033         void FillFileView();
00034 
00035 // Implementation
00036 public:
00037         virtual ~CFileView();
00038 
00039 protected:
00040         afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00041         afx_msg void OnSize(UINT nType, int cx, int cy);
00042         afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
00043         afx_msg void OnProperties();
00044         afx_msg void OnFileOpen();
00045         afx_msg void OnFileOpenWith();
00046         afx_msg void OnDummyCompile();
00047         afx_msg void OnEditCut();
00048         afx_msg void OnEditCopy();
00049         afx_msg void OnEditClear();
00050         afx_msg void OnPaint();
00051         afx_msg void OnSetFocus(CWnd* pOldWnd);
00052 
00053         DECLARE_MESSAGE_MAP()
00054 };
00055