Index: src/ch/CustomCopyDlg.h =================================================================== diff -u -rcb4e9d4b60d62b25ae2cf556c0642601af56c787 -r4fe995b304ea342b50293f92d3c1992b43b820f7 --- src/ch/CustomCopyDlg.h (.../CustomCopyDlg.h) (revision cb4e9d4b60d62b25ae2cf556c0642601af56c787) +++ src/ch/CustomCopyDlg.h (.../CustomCopyDlg.h) (revision 4fe995b304ea342b50293f92d3c1992b43b820f7) @@ -21,6 +21,8 @@ #include "../libchcore/TFileFilter.h" #include "../libchcore/TTaskDefinition.h" +#include "CDragDropListCtrl.h" +#include "CDragDropComboEx.h" ///////////////////////////////////////////////////////////////////////////// // CCustomCopyDlg dialog @@ -32,19 +34,17 @@ CCustomCopyDlg(); // standard constructor explicit CCustomCopyDlg(const chcore::TTaskDefinition& rTaskDefinition); -// Dialog Data - enum { IDD = IDD_CUSTOM_COPY_DIALOG }; - // Overrides protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: virtual void OnLanguageChanged(); - void UpdateDialog(); + + void UpdateFilesListCtrlHeaderWidth(); + void UpdateComboIcon(); - void SetComboPath(LPCTSTR lpszText); void EnableControls(); void AddFilter(const chcore::TFileFilter& rFilter, int iPos=-1); void AddPath(CString strPath); @@ -75,19 +75,20 @@ afx_msg void OnIgnorefoldersCheck(); afx_msg void OnForcedirectoriesCheck(); afx_msg void OnExportButtonClicked(); + afx_msg void OnSize(UINT nType, int cx, int cy); DECLARE_MESSAGE_MAP() public: chcore::TTaskDefinition m_tTaskDefinition; std::vector m_vRecent; // recently selected paths - CComboBoxEx m_ctlDstPath; + CDragDropComboEx m_ctlDstPath; CListCtrl m_ctlFilters; CListBox m_ctlBufferSizes; CComboBox m_ctlOperation; CComboBox m_ctlPriority; - CListCtrl m_ctlFiles; + CDragDropListCtrl m_ctlFiles; CImageList m_ilImages; bool m_bActualisation = false; // is this dialog processing the combo text changing ?