Files
envi-code/SourceCode/Code2026/shsTK/DockPane.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

52 lines
1.2 KiB
C++

//////////////////////////////////////////////////////////////////////////
// 主界面
// 创建日期: 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