////////////////////////////////////////////////////////////////////////// // 主界面 // 创建日期: 2004-08-03 // 周风生 ////////////////////////////////////////////////////////////////////////// #if !defined(ARX__DOCKPANE_H__20040803_101044) #define ARX__DOCKPANE_H__20040803_101044 #if _MSC_VER > 1000 #pragma once #endif #include "resource.h" #include "DockDialog.h" class CDockPane : public CAdUiDockControlBar { DECLARE_DYNAMIC(CDockPane) public: CDockPane () ; public: virtual BOOL Create(CWnd*pParent, LPCTSTR lpszTitle); protected: afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct); afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); afx_msg void OnDeldir(); afx_msg void OnNewdir(); afx_msg void OnNewFile(); afx_msg void OnDelFile(); afx_msg void OnOpenDir(); afx_msg void OnUpdateDir(); DECLARE_MESSAGE_MAP() virtual void SizeChanged (CRect *lpRect, BOOL bFloating, int flags); public: void getAllTreeItem(CStringArray &strTreeItemArr); void SetSltDwgFile(LPCTSTR sFolder, LPCTSTR sDwg); BOOL isChildItem(CString strName); CDockDialog m_DockDialog; CString m_sSoftPath; CString m_sCurSltPath; HTREEITEM m_hTreeItem; } ; #endif