123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #if !defined(AFX_FILEMANAGE2_H__8DF2A59C_3900_4C7B_9237_B0CE75D0F0B9__INCLUDED_)
- #define AFX_FILEMANAGE2_H__8DF2A59C_3900_4C7B_9237_B0CE75D0F0B9__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // FileManage2.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // FileManage2 dialog
- class FileManage2 : public CDialog
- {
- CArray<CStringArray, CStringArray>m_List1array;
- // Construction
- public:
- void GetChildIds(CString curid, CStringArray *pArray);
- BOOL CheckExist(CString m_strSelect);
- void GetChildId(CString oldstr, CString curid, CStringArray *pArray);
- CString GetCurSelID(CString &path);
- CString GetName(CString id);
- void AddChild(CString curid, HTREEITEM hParent);
- void GetData();
- FileManage2(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(FileManage2)
- enum { IDD = IDD_DLGFileManage2 };
- CTreeCtrl m_mytree;
- CString m_text;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(FileManage2)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(FileManage2)
- virtual BOOL OnInitDialog();
- afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTAddP();
- afx_msg void OnBUTAddC();
- afx_msg void OnBUTrename();
- afx_msg void OnBUTdel();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FILEMANAGE2_H__8DF2A59C_3900_4C7B_9237_B0CE75D0F0B9__INCLUDED_)
|