DropFile拖放文件示例

时间:2011-06-01 10:04:30
【文件属性】:
文件名称:DropFile拖放文件示例
文件大小:35KB
文件格式:RAR
更新时间:2011-06-01 10:04:30
MFC 拖放 修改了两个地方:一个在View的初始化阶段,InitialUpdate函数中,打开了允许拖放的开关Drag.....函数;另一个地方是增加View类处理拖放消息WM_DropFile的函数。
【文件预览】:
DropFileTest
----DropFileTest.mak(6KB)
----DropFileTest.h(1KB)
----StdAfx.cpp(214B)
----DropFileTest.plg(1KB)
----DropFileTest.rc(10KB)
----DropFileTestView.cpp(3KB)
----DropFileTest.ncb(49KB)
----DropFileTestDoc.h(2KB)
----MainFrm.h(2KB)
----DropFileTest.aps(28KB)
----DropFileTest.dsw(547B)
----DropFileTestView.h(2KB)
----ReadMe.txt(4KB)
----StdAfx.h(1KB)
----DropFileTest.dep(694B)
----MainFrm.cpp(2KB)
----DropFileTestDoc.cpp(2KB)
----Resource.h(500B)
----DropFileTest.dsp(5KB)
----DropFileTest.clw(2KB)
----DropFileTest.cpp(4KB)
----res()
--------DropFileTest.rc2(404B)
--------DropFileTestDoc.ico(1KB)
--------Toolbar.bmp(1KB)
--------DropFileTest.ico(1KB)
----DropFileTest.opt(48KB)

网友评论

  • 作为初学者的例子还是不错的
  • 真的不错,之前只知道文件拖拽,没想到OLE对象也可以拖拽
  • 我怎么看就是单纯一个响应了拖放消息的程序,没啥用处...是我水平太低了? 楼上竟然还评论ole也能拖放,不知道大神在说什么
  • 非常好,帮了我一个大忙
  • 真的不错,之前只知道文件拖拽,没想到OLE对象也可以拖拽,真的感谢楼主分享。