Posted 18 years ago
by Marianne
![Avatar](https://secure.gravatar.com/avatar/3a9494340a187736cbd4b10ec1996248.jpg?s=64&d=identicon&r=g)
When nothing is in a tabbed MDI area I would like to be able to drag a file onto the surface of it and respond via standard OLE drag/drop. My attempts so far have failed and I looked in the sample app but don't see it implemented in there either. What I'm doing is:
I'm assuming that the TabbedMdiRootContainer is what I want to use but am not entirely positive. Please advise.
dm.TabbedMdiRootContainer.AllowDrop = true;
dm.TabbedMdiRootContainer.DragDrop += new DragEventHandler(TabbedMdiRootContainer_DragDrop);
------------------------------- Marianne