Optimized Moves Using DoDragDrop

I’m writing an application in Visual Basic 2007 that interacts with the Windows Shell and uses drag and drop to move files around.Microsoft document #969396, "Handling Shell Data Transfer Scenarios" says that I need to check two values, set by the drop target, to determine if an optimized move was done.One of the values is returned by the "DoDragDrop" method itself.The other is data created by the drop target and returned in the "CFSTR_PERFORMEDDROPEFFECT” format.

After "DoDragDrop" returns, how do I access second data value?

[870 byte] By [=SteveD=] at [2008-1-10]
# 1

Hi =Steve D=,

I am not very sure about what you mean by “Visual Basic 2007”, could you please clarify?

Are you using Control.DoDragDrop Method?

Thanks!

FengChen-MSFT at 2007-10-3 > top of Msdn Tech,.NET Development,Common Language Runtime...
# 2

Hi Steve,

We are changing the issue type to “Comment” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Thank you!

FengChen-MSFT at 2007-10-3 > top of Msdn Tech,.NET Development,Common Language Runtime...

.NET Development

Site Classified