有什么不同的剪贴板/拖和下降的格式是什么意思? [英] What do various clipboard/drag-and-drop formats mean?

查看:229
本文介绍了有什么不同的剪贴板/拖和下降的格式是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我和拖放玩耍。我做了一个示例应用程序,从文件夹中下降了文件的 我的音乐 到我的应用程序。以下是 e.Data.GetFormats()返回:

I was playing around with drag and drop. I made a sample application and dropped a file from folder My Music onto my application. Here's what e.Data.GetFormats() returned:

  • 贝壳IDLIST阵列
  • UsingDefaultDragImage
  • DragImageBits
  • DragContext
  • DragSourceHelperFlags
  • InShellDragLoop
  • FileDrop
  • FileNameW
  • 文件名
  • IsShowingLayered
  • DragWindow
  • IsComputingImage
  • DropDesc​​ription
  • DisableDragText
  • ComputedDragImage
  • IsShowingText
  • Shell IDList Array
  • UsingDefaultDragImage
  • DragImageBits
  • DragContext
  • DragSourceHelperFlags
  • InShellDragLoop
  • FileDrop
  • FileNameW
  • FileName
  • IsShowingLayered
  • DragWindow
  • IsComputingImage
  • DropDescription
  • DisableDragText
  • ComputedDragImage
  • IsShowingText

什么做所有这些意味着,以及如何去code和使用他们?

What do each of these mean and how to decode and use them?

谷歌搜索他们每个人没有取得任何有用的信息。

Googling each of them didn't yield any useful information.

推荐答案

FileDrop为标准,涵盖了DataFormats类。壳牌IDLIST和文件名/ W是常见的Windows资源管理器。其中的其余部分都是定制的。通过他们的名字,这听起来像他们提升为D + D的反馈,当你拖动到其他Microsoft应用程序,如媒体播放器。这东西是记录不完整,可能是故意的。

FileDrop is standard, covered by the DataFormats class. Shell IDList and FileName/W are common for Windows Explorer. The rest of them are all custom. By their names, it sounds like they enhance the D+D feedback when you drag to other Microsoft apps, like Media Player. This stuff is poorly documented, possibly intentional.

这篇关于有什么不同的剪贴板/拖和下降的格式是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆