本文介绍了通过拖放来更改CTreeCtrl项的顺序,MFC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个应用程序,它有CTreeCtrl显示特定驱动器的所有文件夹,我想通过拖动n删除在同一CTreeCtrl中更改文件夹的顺序。如何做到。我已经实现了代码在CTreeCtrl中获取文件夹名称,但想知道如何可以通过Drag& Drop
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.
推荐答案
Ther是可在。只需使用google。
Ther is sample code vailable at Codeproject. Just use google.
这篇关于通过拖放来更改CTreeCtrl项的顺序,MFC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!