VC跨进程拖拽文件

时间:2019-12-12 10:42:15
【文件属性】:
文件名称:VC跨进程拖拽文件
文件大小:4.09MB
文件格式:RAR
更新时间:2019-12-12 10:42:15
VC++ 跨进程拖拽 由于封装DROPFILES消息之后,若通过sendMessage发送给目标进程,则难以获取到目标窗口进程,尤其是目标进程最小化到任务栏后。这里把DROPFILES消息通过ole接口封装到拖拽数据对象中,实现了与windows相同的文件拖拽。内有gif录像,可参考。
【文件预览】:
dlgDrag
----dlgDrag.sln(888B)
----dlgDrag.suo(17KB)
----dlgDrag()
--------stdafx.cpp(140B)
--------dlgDrag.rc(10KB)
--------dlgDragDlg.h(815B)
--------dlgDrag.cpp(2KB)
--------res()
--------dlgDrag.vcxproj.user(143B)
--------stdafx.h(2KB)
--------dlgDrag.vcxproj(6KB)
--------targetver.h(234B)
--------dragInterface.cpp(19KB)
--------resource.h(1KB)
--------dlgDrag.vcxproj.filters(2KB)
--------dlgDrag.aps(103KB)
--------dlgDrag.h(448B)
--------dlgDragDlg.cpp(6KB)
--------dragInterface.h(8KB)
--------ReadMe.txt(3KB)
----Debug()
--------dlgDrag.exe(213KB)
----Drag-Drop.gif(4.91MB)
----DragDrop-beanjoy()
--------DragDrop()

网友评论

  • 学习了 谢谢
  • 最近在找这类的资料,谢谢楼主的分享