Change Order of the CTreeCtrl item by Drag and drop, MFC

给你一囗甜甜゛ 提交于 2020-01-15 10:55:09

问题


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.



来源:https://stackoverflow.com/questions/20242298/change-order-of-the-ctreectrl-item-by-drag-and-drop-mfc

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!