Anything's Possible

Ever heard a developer say "it can't be done?" It is one of my biggest pet peeves. The truth is, it can be done. If you approach a problem pragmatically and put enough effort into it, understanding the root issues, and not settling for sub-par, you can achieve anything. Why not? Nobody said it would be easy. I just said Anything's Possible.

Shell Style Drag and Drop in .NET - Part 3 (Bug Fix)

I updated the download link for the sources of Shell Style Drag and Drop in .NET - Part 3. There was a bug that several readers found, where some programs would try to get data that didn't exist, and the DragObject implementation didn't tell them about the status of the data properly. This manifested itself, for example, if you tried to add FileDrop data and drop it in the Windows Explorer.

There are some other potential bug fixes on the way, too.

Published Wednesday, February 18, 2009 9:06 PM by adamroot

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Luke said:

Great!  Thanks for the update, what are the other known issues and pending bug fixes?

July 24, 2009 7:29 AM
 

adamroot said:

No major issues that I know of.

August 20, 2009 9:17 AM
 

Khalid said:

Hi

first, thanks for the articles, they helped me a lot.

I use your code in an explorer like application. All drag & drop operations from windows explorer to my app works great (drop descriptions, drag images). But now my app should create the same drag images the explorer creates when dragging files (these blueish images with the file icon inside, or multiple icons). Do you know how to create those drag images from IShellItem/IShellFolder interface? Or maybe over another interface? Im just able to create those old style drag images over an IDataObject created by the shell (IShellFolder.GetUiObjectOf with IID_IDataObject), but these method doesn't create the "new" drag images.

September 8, 2009 4:57 AM
 

adamroot said:

Sorry, I haven't tried to do that.

September 8, 2009 10:00 AM

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker