I am working on a ShellExtension code in C++. I am creating a Virtual Drive. Which represents a repository somewhere in the Network. What I want now is to enable Drag-Drop functionality to this Drive. I want to enable user to drag the file to that Virtual Drive and then I must be able to Grab that event, so that I can perform my custom operation. I am not able to find any of such Event or Interface so far. I tried using IDragAndDrop
interface, but its rgs files were not registering properly. Is there any way out?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
What you ask for is covered in MSDN's documentation:
Handling Shell Data Transfer Scenarios
Implementing the Basic Folder Object Interfaces (in particular, IShellFolder::GetUIObjectOf() can return an IDataObject or IDropTarget interface)
Creating Drop Handlers