Index: src/ch/DirTreeCtrl.h =================================================================== diff -u -N -rd5c3edd0d167db9b5d47d04248820fda49499a5e -rcb4e9d4b60d62b25ae2cf556c0642601af56c787 --- src/ch/DirTreeCtrl.h (.../DirTreeCtrl.h) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/ch/DirTreeCtrl.h (.../DirTreeCtrl.h) (revision cb4e9d4b60d62b25ae2cf556c0642601af56c787) @@ -130,7 +130,6 @@ // Generated message map functions protected: - bool RegisterWindowClass(); friend int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM/* lParamSort*/); //{{AFX_MSG(CDirTreeCtrl) @@ -151,17 +150,16 @@ protected: void InitControl(); HTREEITEM RegularSelect(HTREEITEM hStart, LPCTSTR lpszPath); -// HTREEITEM TraverseNetNode(HTREEITEM hItem, LPCTSTR lpszPath, LPTSTR lpszBuffer); bool ComparePaths(LPCTSTR lpszFull, LPCTSTR lpszPartial); -// bool SetRemotePath(LPCTSTR lpszPath); bool SetLocalPath(LPCTSTR lpszPath); HRESULT FillNode(HTREEITEM hParent, LPSHELLFOLDER lpsf, LPITEMIDLIST lpidl, bool bSilent=false); - bool m_bIgnoreShellDialogs; // ignore dialogs of type 'insert floppy disk' - HIMAGELIST m_hImageList; // system img list - HTREEITEM m_hDrives, m_hNetwork; // my computer's and net neighbourhood's handles - bool m_bIgnore; // ignore the nearest adding of items in OnItemexpanding - int m_iEditType; // type of item editing (0-doesn't exist (nothing for edit), 1-new folder) + bool m_bIgnoreShellDialogs = true; // ignore dialogs of type 'insert floppy disk' + HIMAGELIST m_hImageList = nullptr; // system img list + HTREEITEM m_hDrives = nullptr; + HTREEITEM m_hNetwork = nullptr; // my computer's and net neighbourhood's handles + bool m_bIgnore = false; // ignore the nearest adding of items in OnItemexpanding + int m_iEditType = 0; // type of item editing (0-doesn't exist (nothing for edit), 1-new folder) }; /////////////////////////////////////////////////////////////////////////////