Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top