12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #pragma once
- #include "afxcmn.h"
- #include "BtnST.h"
- // CDlg_EditView 对话框
- class CDlg_EditView : public CDialog
- {
- DECLARE_DYNAMIC(CDlg_EditView)
- public:
- CDlg_EditView(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CDlg_EditView();
- // 对话框数据
- enum { IDD = IDD_DLG_EDITSORT };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- DECLARE_MESSAGE_MAP()
- public:
- virtual BOOL OnInitDialog();
- afx_msg void OnBnClickedBtnDel();
- afx_msg void OnBnClickedBtnUp();
- afx_msg void OnBnClickedBtnDown();
- afx_msg void OnBnClickedBtnAllShow();
- afx_msg void OnBnClickedBtnAllHide();
- afx_msg void OnBnClickedOk();
- afx_msg void OnBnClickedCancel();
- CListCtrl m_ListView;
- void FileSearch( CStringArray &SATemp,int iInsertIndex, CString strPath, CString strFileName, int nLayer);
- BOOL DirSearch(CString strPath, CString strFileName);
- afx_msg void OnNMDblclkList1(NMHDR *pNMHDR, LRESULT *pResult);
- void ReadALlView();
- CString m_sPath;
- void InsertToList( int iInsertIndex,CString sContent,CString sPath );
- CByteArray m_BA1,m_BA2;
- CStringArray m_SA1,m_SA2;
- void ShowOne( CString sParent,CString sContent,int &iListIndex );
- void HideOne( CString sParent,CString &sContent,int iListIndex );
- void ShowAll( );
- void HideAll( );
- int GetLevel( CString sContent );
- CString GetPreStr( CString sContent );
- CButtonST m_btnDel,m_btnUp,m_btnDown,m_btnShow,m_btnHide,m_btnSave,m_btnExit;
- };
|