Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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).

like image 705
user940799 Avatar asked Nov 03 '22 13:11

user940799


1 Answers

Use the shell drag/drop helper object.

like image 124
Raymond Chen Avatar answered Nov 09 '22 10:11

Raymond Chen