Change Order of the CTreeCtrl item by Drag and dro

2019-08-05 01:54发布

问题:

I have an application which has CTreeCtrl which shows all the folders of the specific drive, I want to change the order of the folder in the same CTreeCtrl by means of Drag n Drop. How can it be done. I have implemented the code for getting the folder name in the CTreeCtrl but wondering how can i change order by means of Drag & Drop.

回答1:

Ther is sample code vailable at Codeproject. Just use google.



标签: c++ mfc