开发者

How do I make my application display whatever drag graphic is used by the source?

开发者 https://www.devze.com 2023-01-11 23:55 出处:网络
When you drag a picture from Firefox to Windows Explorer, Explorer shows Fi开发者_如何转开发refox\'s drag graphic. How does he do it?

When you drag a picture from Firefox to Windows Explorer, Explorer shows Fi开发者_如何转开发refox's drag graphic. How does he do it?

Illustration: http://www.youtube.com/watch?v=3rliNPuKh58 (The video capture is not entirely accurate - the mouse cursor is shown as an arrow at all times when it in fact changes between the default drag and drop cursor and the slashed circle.)


D'oh, sorry. I only gave it a quick glance. You'll have to use the shell COM interfaces (IDropSource, IDragSourceHelper) to achieve this.

0

精彩评论

暂无评论...
验证码 换一张
取 消