Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Is it possible to Drag Projects from Solution Explorer onto a Tool Window?

$
0
0

Hi,

I am looking to support drag 'n' drop functionality in my Visual Studio Package by dragging files, folders and projects from the Solution Explorer onto my Tool Window.

To narrow this down, when I drag files from Solution Explorer onto my app, and handling DragEnter, I can get the filename using this:

e.Data.GetData("System.String")

However, if I drag a project from Solution Explorer onto my Tool Window, that value (and all of the others derived from e.Data.GetFormats()) return null. Also, I notice the e.AllowedEffects is None. 

My question is: is there of detecting the PROJECT filename and/or path being dragged from Solution Explorer onto my Tool Window? 

Any help appreciated!

Grey Ham



Blog: http://www.havecomputerwillcode.com/blog


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>