Files
envi-code/SourceCode/Code2026/shsTK/DockPane.h
T

51 lines
1.2 KiB
C++
Raw Normal View History

2026-09-28 15:28:50 +08:00
//////////////////////////////////////////////////////////////////////////
// Ö÷½çÃæ
// ´´½¨ÈÕÆÚ: 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