WPF HwndHost Drag & Drop

I'm not sure why, but the drag and drop events on HwndHost don't seem to work (in fact, no events work at all). I can connect to Windows messages going to HwndHost, however I cannot find anything useful.

I am trying to drag a node from a tree view onto the HwndHost that hosts XNA. I set AllowDrop to true on HwndHost, but it doesn't seem to do anything. Does anyone know how I can let HwndHost become the object of a drag and drop operation?

Thank!

+5
source share
1 answer

Is this behavior only when running under the debugger?

Are you running Visual Studio as an administrator?

, . , , , .

Windows:/

0

All Articles