【文件属性】:
文件名称:MFC实现文件拖拽功能
文件大小:6.04MB
文件格式:RAR
更新时间:2016-04-25 20:48:20
VC文件拖拽
MFC类库提供的CListCtrl类是不可以拖拽文件的,本代码子类化CListCtrl类,实现文件拖拽功能,供大家参考参考,希望小小代码能够帮到大家解决问题。
【文件预览】:
DropFilesDemo
----DropFilesDemo.ncb(22.22MB)
----DropFilesDemo.sln(905B)
----DropFilesDemo.suo(13KB)
----DropFilesDemo()
--------stdafx.cpp(146B)
--------DropFilesDemo.rc(5KB)
--------DropFilesDemo.h(487B)
--------res()
--------stdafx.h(2KB)
--------DropFilesDemo.aps(103KB)
--------DropFilesDemo.cpp(2KB)
--------DropFileListCtrl.cpp(1KB)
--------targetver.h(1KB)
--------DropFileListCtrl.h(294B)
--------DropFilesDemoDlg.h(701B)
--------resource.h(685B)
--------DropFilesDemo.vcproj.lenovo-PC.lenovo.user(1KB)
--------DropFilesDemoDlg.cpp(3KB)
--------DropFilesDemo.vcproj(6KB)
--------ReadMe.txt(3KB)
网友评论
- 文件挺好用
- 挺有参考价值的例子
- 不错的例子,不错
- 不错,很好的参考
- 可以用很简单的例子
- 很好用!非常有借鉴价值!
- 相当好的代码。很清楚,谢谢共享
- 功能还可以,但不是我要找到。
- 简单实用,好的程序就应该这样,“一句顶万句” 网上搜到很多同样功能代码,至少两个页面来现实,而它几句就搞定了
- 可以用很简单的例子
- 很不错 派上用场啦
- 非常好!文件可以直接拖到listctl里面
- 非常好,扩展控件
- 确实是我需要的,完成文件的拖拽功能,文件夹里面的内容不显示
- 将//#include <afxcontrolbars.h>注释,然后加入如下定义 #define CWinAppEx CWinApp