Search code examples
windowswinapidrag-and-dropmouse-cursor

How to get new-style Windows drag&drop cursors


How is it possible to use new-style dragging cursor on Windows when user is dragging something (e.g. image) from Explorer to my application?

Windows drag&drop cursors

In some apps (MS Paint, Visual Studio, Qt Creator, ...) old cursors are used, in others (Explorer, Skype, Chrome, Opera, ...) – new.

I’m talking only about the case when drag&drop operation was created outside of our application. So it is handled by other program (Explorer in my case).


Solution

  • Use the shell drag/drop helper object.